mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Remove has_key() references from idlelib. IDLE still doesn't run due
to relative import issues. Any volunteers?
This commit is contained in:
parent
d204a715f4
commit
811c4e0b7c
11 changed files with 20 additions and 20 deletions
|
@ -126,7 +126,7 @@ dispatch = {
|
|||
|
||||
def make_objecttreeitem(labeltext, object, setfunction=None):
|
||||
t = type(object)
|
||||
if dispatch.has_key(t):
|
||||
if t in dispatch:
|
||||
c = dispatch[t]
|
||||
else:
|
||||
c = ObjectTreeItem
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue