mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Issue #16993: shutil.which() now preserves the case of the path and extension
on Windows.
This commit is contained in:
parent
85da624ebe
commit
014791f848
4 changed files with 15 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue