diff --git a/Lib/os.py b/Lib/os.py index 40f9a4e2aad..1aadf1ff599 100644 --- a/Lib/os.py +++ b/Lib/os.py @@ -410,7 +410,7 @@ else: return dict(self) else: # Where Env Var Names Can Be Mixed Case - class _Environ(UserDict.UserDict): + class _Environ(UserDict.IterableUserDict): def __init__(self, environ): UserDict.UserDict.__init__(self) self.data = environ