summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/os.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/os.py b/Lib/os.py
index a4d07c9..d4cfff9 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -245,6 +245,8 @@ else:
self.data[key] = item
def __getitem__(self, key):
return self.data[string.upper(key)]
+ def has_key(self, key):
+ return self.data.has_key(string.upper(key))
else: # Where Env Var Names Can Be Mixed Case
class _Environ(UserDict.UserDict):