commit | 70120e202d97826a83e16472d43f643ed82a9275 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Thu Jul 29 17:19:38 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Thu Jul 29 17:19:38 2010 +0000 |
tree | 5d335c52e174c1da91c23ee0fe292396b8eccd7a | |
parent | 056cb93e7accc6cd21d7bec9d25a8d36b16dbb4a [diff] [blame] |
#8603: Add environb to os.__all__
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 @@ 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