summaryrefslogtreecommitdiff
path: root/Lib/idlelib/RemoteDebugger.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-08-22 15:45:46 +0000
committerGuido van Rossum <guido@python.org>2006-08-22 15:45:46 +0000
commit811c4e0b7cb1a3b43cda8dab0b1587983b44c58d (patch)
tree6d1172a99c68bba0391eb165c2ddcc75315b56ad /Lib/idlelib/RemoteDebugger.py
parentd204a715f4776fc2e5498e81c9e7a647e902b682 (diff)
downloadcpython-git-811c4e0b7cb1a3b43cda8dab0b1587983b44c58d.tar.gz
Remove has_key() references from idlelib. IDLE still doesn't run due
to relative import issues. Any volunteers?
Diffstat (limited to 'Lib/idlelib/RemoteDebugger.py')
-rw-r--r--Lib/idlelib/RemoteDebugger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/RemoteDebugger.py b/Lib/idlelib/RemoteDebugger.py
index 74085c36f5..0422cce335 100644
--- a/Lib/idlelib/RemoteDebugger.py
+++ b/Lib/idlelib/RemoteDebugger.py
@@ -231,7 +231,7 @@ class FrameProxy:
return self._get_dict_proxy(did)
def _get_dict_proxy(self, did):
- if self._dictcache.has_key(did):
+ if did in self._dictcache:
return self._dictcache[did]
dp = DictProxy(self._conn, self._oid, did)
self._dictcache[did] = dp