Mercurial > cpython-lru_cache-weakref
diff Lib/idlelib/RemoteDebugger.py @ 39634:d91585b2cdc1
Remove has_key() references from idlelib. IDLE still doesn't run due
to relative import issues. Any volunteers?
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 22 Aug 2006 15:45:46 +0000 |
| parents | 71a294bd7950 |
| children | 4bbbe0c55fa2 |
line wrap: on
line diff
--- a/Lib/idlelib/RemoteDebugger.py Tue Aug 22 13:41:17 2006 +0000 +++ b/Lib/idlelib/RemoteDebugger.py Tue Aug 22 15:45:46 2006 +0000 @@ -231,7 +231,7 @@ 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
