summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r--Doc/library/os.rst3
1 files changed, 3 insertions, 0 deletions
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