summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Curtin <brian@python.org>2012-06-23 03:49:12 (GMT)
committerBrian Curtin <brian@python.org>2012-06-23 03:49:12 (GMT)
commitdc00f1eba01fb51f655644c2900adb3fca3de1dd (patch)
tree0c1dcc840382169ea74484936f896b0517496f4a
parent2193536e79c33654cadf85f4b6d8bbe27b43fd2c (diff)
downloadcpython-dc00f1eba01fb51f655644c2900adb3fca3de1dd.zip
cpython-dc00f1eba01fb51f655644c2900adb3fca3de1dd.tar.gz
cpython-dc00f1eba01fb51f655644c2900adb3fca3de1dd.tar.bz2
Fix #15148. Capitalize PATH, hopefully leading to less confusion
-rw-r--r--Lib/shutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py
index 82d3f09..1d6971d 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 command, mode, and a path string, return the path which
+ """Given a command, mode, and a PATH string, return the path which
conforms to the given mode on the PATH, or None if there is no such file.
`mode` defaults to os.F_OK | os.X_OK. `path` defaults to the result of
os.environ.get("PATH"), or can be overridden with a custom search path."""