[Python-checkins] r83237 - python/branches/py3k/Lib/os.py
victor.stinner
python-checkins at python.org
Thu Jul 29 19:19:38 CEST 2010
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
More information about the Python-checkins
mailing list