Author: victor.stinner Date: Thu Jul 29 19:19:38 2010 New Revision: 83237 Log: #8603: Add environb to os.__all__ Modified: python/branches/py3k/Lib/os.py Modified: python/branches/py3k/Lib/os.py ============================================================================== --- python/branches/py3k/Lib/os.py (original) +++ python/branches/py3k/Lib/os.py Thu Jul 29 19:19:38 2010 @@ -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
participants (1)
-
victor.stinner