From: Alexander Belopolsky Date: Sat, 23 Jun 2012 01:56:42 +0000 (-0400) Subject: Issue #15148: Fixed typos in shutil.which() docstring X-Git-Tag: v3.3.0b1~142 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de74de5d5de10e571d4ed7a95d8bcc44762ded97;p=python Issue #15148: Fixed typos in shutil.which() docstring --- 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