summaryrefslogtreecommitdiffstats
path: root/Lib/shutil.py
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2012-06-23 01:56:42 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2012-06-23 01:56:42 (GMT)
commitde74de5d5de10e571d4ed7a95d8bcc44762ded97 (patch)
tree98aa0b36eaf7ab64ff55240af4853f098176f0e0 /Lib/shutil.py
parent648921371e3d38b4f34ecc3c595a8faca12c7c2f (diff)
downloadcpython-de74de5d5de10e571d4ed7a95d8bcc44762ded97.zip
cpython-de74de5d5de10e571d4ed7a95d8bcc44762ded97.tar.gz
cpython-de74de5d5de10e571d4ed7a95d8bcc44762ded97.tar.bz2
Issue #15148: Fixed typos in shutil.which() docstring
Diffstat (limited to 'Lib/shutil.py')
-rw-r--r--Lib/shutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py
index 401e9ea..a130077 100644
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -972,7 +972,7 @@ def get_terminal_size(fallback=(80, 24)):
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