Issue #18283: shutil.which() now supports bytes argument, not only text argument.

This commit is contained in:
Victor Stinner 2013-12-16 22:48:48 +01:00
parent a4275b276c
commit fffb96ba66
4 changed files with 32 additions and 10 deletions

View file

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