Fix some more has_key() uses. This could really use a tool to automate...
diff --git a/Lib/ctypes/__init__.py b/Lib/ctypes/__init__.py
index a4e3c36..9e91ac6 100644
--- a/Lib/ctypes/__init__.py
+++ b/Lib/ctypes/__init__.py
@@ -265,7 +265,7 @@
if _pointer_type_cache.get(cls, None) is not None:
raise RuntimeError, \
"This type already exists in the cache"
- if not _pointer_type_cache.has_key(id(pointer)):
+ if id(pointer) not in _pointer_type_cache:
raise RuntimeError, \
"What's this???"
pointer.set_type(cls)