Merge from 3.6

This commit is contained in:
Berker Peksag 2016-09-26 22:44:51 +03:00
commit 0ff400fd0a
1 changed files with 3 additions and 0 deletions

View File

@ -243,6 +243,9 @@ process and user.
Return the value of the environment variable *key* if it exists, or Return the value of the environment variable *key* if it exists, or
*default* if it doesn't. *key*, *default* and the result are bytes. *default* if it doesn't. *key*, *default* and the result are bytes.
:func:`getenvb` is only available if :data:`supports_bytes_environ`
is True.
Availability: most flavors of Unix. Availability: most flavors of Unix.
.. versionadded:: 3.2 .. versionadded:: 3.2