Issue #16993: shutil.which() now preserves the case of the path and extension

on Windows.
This commit is contained in:
Serhiy Storchaka 2013-01-21 15:00:27 +02:00
parent 85da624ebe
commit 014791f848
4 changed files with 15 additions and 9 deletions

View file

@ -335,7 +335,7 @@ Directory and files operations
directories. For example, on Windows::
>>> shutil.which("python")
'c:\\python33\\python.exe'
'C:\\Python33\\python.exe'
.. versionadded:: 3.3