SF 563203. Replaced 'has_key()' with 'in'.
diff --git a/Lib/fnmatch.py b/Lib/fnmatch.py
index da0bb34..0d3d92c 100644
--- a/Lib/fnmatch.py
+++ b/Lib/fnmatch.py
@@ -42,7 +42,7 @@
     import os,posixpath
     result=[]
     pat=os.path.normcase(pat)
-    if not _cache.has_key(pat):
+    if not pat in _cache:
         res = translate(pat)
         _cache[pat] = re.compile(res)
     match=_cache[pat].match
@@ -64,7 +64,7 @@
     its arguments.
     """
 
-    if not _cache.has_key(pat):
+    if not pat in _cache:
         res = translate(pat)
         _cache[pat] = re.compile(res)
     return _cache[pat].match(name) is not None