mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
bpo-18283: Add support for bytes to shutil.which (GH-11818)
This commit is contained in:
parent
cfd31f0af2
commit
5680f6546d
4 changed files with 45 additions and 14 deletions
|
|
@ -396,6 +396,9 @@ Directory and files operations
|
|||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
.. versionchanged:: 3.8
|
||||
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