changeset: 77605:5975292ddf82 user: Alexander Belopolsky date: Fri Jun 22 21:56:42 2012 -0400 files: Lib/shutil.py description: Issue #15148: Fixed typos in shutil.which() docstring diff -r 48a073385660 -r 5975292ddf82 Lib/shutil.py --- a/Lib/shutil.py Fri Jun 22 21:10:50 2012 -0400 +++ b/Lib/shutil.py Fri Jun 22 21:56:42 2012 -0400 @@ -972,7 +972,7 @@ return os.terminal_size((columns, lines)) def which(cmd, mode=os.F_OK | os.X_OK, path=None): - """Given a file, mode, and a path string, return the path whichs conform + """Given a file, mode, and a path string, return the path which conforms to the given mode on the path.""" # Check that a given file can be accessed with the correct mode. # Additionally check that `file` is not a directory, as on Windows

AltStyle によって変換されたページ (->オリジナル) /