Skip to content

Commit d1c4f03

Browse files
committed
Add comment about origin of which()
1 parent 7b6cd05 commit d1c4f03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setupbase.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ def run(self):
182182
try:
183183
from shutil import which
184184
except ImportError:
185+
## which() function copied from Python 3.4.3; PSF license
185186
def which(cmd, mode=os.F_OK | os.X_OK, path=None):
186187
"""Given a command, mode, and a PATH string, return the path which
187188
conforms to the given mode on the PATH, or None if there is no such

0 commit comments

Comments
 (0)