diff options
| author | Victor Stinner <vstinner@redhat.com> | 2019-04-17 17:44:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-17 17:44:06 +0200 |
| commit | 197f0447e3bcfa4f529fedab09966d7e3d283979 (patch) | |
| tree | 8a8aa6dd1696d86512f7f438796c986c6224ef2c /Lib/shutil.py | |
| parent | 693c104ae74feea11f0b51176dc91ecd153230c0 (diff) | |
| download | cpython-git-197f0447e3bcfa4f529fedab09966d7e3d283979.tar.gz | |
bpo-35755: Don't say "to mimick Unix which command behavior" (GH-12861)
Diffstat (limited to 'Lib/shutil.py')
| -rw-r--r-- | Lib/shutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py index 34df9cc474..6cfe3738f6 100644 --- a/Lib/shutil.py +++ b/Lib/shutil.py @@ -1317,7 +1317,7 @@ def which(cmd, mode=os.F_OK | os.X_OK, path=None): # os.confstr() or CS_PATH is not available path = os.defpath # bpo-35755: Don't use os.defpath if the PATH environment variable is - # set to an empty string to mimick Unix which command behavior + # set to an empty string # PATH='' doesn't match, whereas PATH=':' looks in the current directory if not path: |
