From 70120e202d97826a83e16472d43f643ed82a9275 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 29 Jul 2010 17:19:38 +0000 Subject: #8603: Add environb to os.__all__ --- Lib/os.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v0.12