From aa36d87f0e4d1e93187f433def06a85d9df4c120 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 6 Sep 2002 19:35:22 +0000 Subject: [PATCH] Have os.environ inherit from the iterable version of UserDict. Closes SF bug 605731. --- Lib/os.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/os.py b/Lib/os.py index b9969c708f90..a89c471fc60f 100644 --- a/Lib/os.py +++ b/Lib/os.py @@ -366,7 +366,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 -- 2.47.3