os.genenvb() is not availabnle under Windows

This commit is contained in:
Berker Peksag 2016-09-26 22:44:07 +03:00
parent 1d480bea9c
commit 996e5f94d2
1 changed files with 3 additions and 0 deletions

View File

@ -206,6 +206,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