summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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