bpo-18283: Add support for bytes to shutil.which (GH-11818)

This commit is contained in:
Cheryl Sabella 2019-02-13 06:25:10 -05:00 • committed by Victor Stinner
parent cfd31f0af2
commit 5680f6546d
4 changed files with 45 additions and 14 deletions

View file

@ -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