diff options
author | Brian Curtin <brian@python.org> | 2012-06-23 02:14:34 (GMT) |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2012-06-23 02:14:34 (GMT) |
commit | e3f3940fc35e4cc7069876813b121493860e46a7 (patch) | |
tree | 734ad74c5124ecc1ada1f5e0cf9b7a7fee44b15a /Lib/shutil.py | |
parent | de74de5d5de10e571d4ed7a95d8bcc44762ded97 (diff) | |
download | cpython-e3f3940fc35e4cc7069876813b121493860e46a7.zip cpython-e3f3940fc35e4cc7069876813b121493860e46a7.tar.gz cpython-e3f3940fc35e4cc7069876813b121493860e46a7.tar.bz2 |
file was the old arg name from an earlier patch. command matches the implementation
Diffstat (limited to 'Lib/shutil.py')
-rw-r--r-- | Lib/shutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py index a130077..f375a5b 100644 --- a/Lib/shutil.py +++ b/Lib/shutil.py @@ -972,8 +972,8 @@ 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 which conforms - to the given mode on the path.""" + """Given a command, 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 # directories pass the os.access check. |