diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-07-29 17:19:38 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-07-29 17:19:38 (GMT) |
commit | 70120e202d97826a83e16472d43f643ed82a9275 (patch) | |
tree | 5d335c52e174c1da91c23ee0fe292396b8eccd7a /Lib/os.py | |
parent | 056cb93e7accc6cd21d7bec9d25a8d36b16dbb4a (diff) | |
download | cpython-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.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |