From 996e5f94d2014279e7fea0a66ce31f800fb7f625 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Mon, 26 Sep 2016 22:44:07 +0300 Subject: os.genenvb() is not availabnle under Windows --- Doc/library/os.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 56e4adc..efe4c9d 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -206,6 +206,9 @@ process and user. Return the value of the environment variable *key* if it exists, or *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. .. versionadded:: 3.2 -- cgit v0.12