[Python-checkins] cpython: Issue #15148: Fixed typos in shutil.which() docstring

alexander.belopolsky python-checkins at python.org
Sat Jun 23 03:56:47 CEST 2012


http://hg.python.org/cpython/rev/5975292ddf82
changeset:   77605:5975292ddf82
user:        Alexander Belopolsky <alexander.belopolsky at gmail.com>
date:        Fri Jun 22 21:56:42 2012 -0400
summary:
  Issue #15148: Fixed typos in shutil.which() docstring

files:
  Lib/shutil.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/shutil.py b/Lib/shutil.py
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list