diff options
author | Raymond Hettinger <python@rcn.com> | 2002-09-06 19:36:31 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-09-06 19:36:31 (GMT) |
commit | ca2f537e32e806b02b20a8ad8c976810bfac754d (patch) | |
tree | b223899cfffa2b600b4619e7dcfcf5f30ef87827 /Lib/os.py | |
parent | 44c42b9cf33fac19ef0785ba3be9fc05f0be4dec (diff) | |
download | cpython-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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |