summaryrefslogtreecommitdiff
path: root/Lib/shutil.py
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2012-06-22 21:56:42 -0400
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2012-06-22 21:56:42 -0400
commita2af3f189913c81b9e8ba7ef3cf7aaf2bdfafabb (patch)
treede756492bd3fbfef684e552c1e31f300b335e33b /Lib/shutil.py
parent8388c70fcfff5ff0457517c852c58c810446112d (diff)
downloadcpython-a2af3f189913c81b9e8ba7ef3cf7aaf2bdfafabb.tar.gz
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 401e9ea4a1..a130077ece 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