[docs] [issue15148] shutil.which() docstring could be clearer

Brian Curtin report at bugs.python.org
Sat Jun 23 04:17:02 CEST 2012


Brian Curtin <brian at python.org> added the comment:

I updated file to command in 973b4806f760. It needs to be command so it matches the implementation's argument name, and because it doesn't exactly take a file.

Alexander, can you explain the part about finding a file on PYTHONPATH? I don't think this has anything to do with shutil.which, or at least I have no idea how it would.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15148>
_______________________________________


More information about the docs mailing list