summaryrefslogtreecommitdiffstats
path: root/Lib/os.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-07-29 17:19:38 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-07-29 17:19:38 (GMT)
commit70120e202d97826a83e16472d43f643ed82a9275 (patch)
tree5d335c52e174c1da91c23ee0fe292396b8eccd7a /Lib/os.py
parent056cb93e7accc6cd21d7bec9d25a8d36b16dbb4a (diff)
downloadcpython-70120e202d97826a83e16472d43f643ed82a9275.zip
cpython-70120e202d97826a83e16472d43f643ed82a9275.tar.gz
cpython-70120e202d97826a83e16472d43f643ed82a9275.tar.bz2
#8603: Add environb to os.__all__
Diffstat (limited to 'Lib/os.py')
-rw-r--r--Lib/os.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/os.py b/Lib/os.py
index 55e7fc2..c7abc2a 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -533,7 +533,8 @@ if supports_bytes_environ:
The optional second argument can specify an alternate default.
key, default and the result are bytes."""
return environb.get(key, default)
- __all__.append("getenvb")
+
+ __all__.extend(("environb", "getenvb"))
def fsencode(value):
"""Encode value for use in the file system, environment variables