Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 996e5f9

Browse files
committed
os.genenvb() is not availabnle under Windows
1 parent 1d480be commit 996e5f9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/library/os.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ process and user.
206206
Return the value of the environment variable *key* if it exists, or
207207
*default* if it doesn't. *key*, *default* and the result are bytes.
208208

209+
:func:`getenvb` is only available if :data:`supports_bytes_environ`
210+
is True.
211+
209212
Availability: most flavors of Unix.
210213

211214
.. versionadded:: 3.2

0 commit comments

Comments
 (0)