summaryrefslogtreecommitdiffstats
path: root/Lib/os.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-09-06 19:36:31 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-09-06 19:36:31 (GMT)
commitca2f537e32e806b02b20a8ad8c976810bfac754d (patch)
treeb223899cfffa2b600b4619e7dcfcf5f30ef87827 /Lib/os.py
parent44c42b9cf33fac19ef0785ba3be9fc05f0be4dec (diff)
downloadcpython-ca2f537e32e806b02b20a8ad8c976810bfac754d.zip
cpython-ca2f537e32e806b02b20a8ad8c976810bfac754d.tar.gz
cpython-ca2f537e32e806b02b20a8ad8c976810bfac754d.tar.bz2
Have os.environ() inherit from the iterable version of UserDict.
Closes SF bug 605731.
Diffstat (limited to 'Lib/os.py')
-rw-r--r--Lib/os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/os.py b/Lib/os.py
index a2daba8..40f9a4e 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -377,7 +377,7 @@ else:
from riscosenviron import _Environ
elif name in ('os2', 'nt', 'dos'): # Where Env Var Names Must Be UPPERCASE
# But we store them as upper case
- class _Environ(UserDict.UserDict):
+ class _Environ(UserDict.IterableUserDict):
def __init__(self, environ):
UserDict.UserDict.__init__(self)
data = self.data