mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue #18283: shutil.which() now supports bytes argument, not only text argument.
This commit is contained in:
parent
a4275b276c
commit
fffb96ba66
4 changed files with 32 additions and 10 deletions
|
|
@ -352,6 +352,10 @@ Directory and files operations
|
|||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
.. versionchanged:: 3.4
|
||||
The :class:`bytes` type is now accepted. If *cmd* type is :class:`bytes`,
|
||||
the result type is also :class:`bytes`.
|
||||
|
||||
|
||||
.. exception:: Error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue