mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -78,7 +78,7 @@ class DirBrowserTreeItem(TreeItem):
|
|||
normed_name = os.path.normcase(name)
|
||||
if normed_name[i:] == suff:
|
||||
mod_name = name[:i]
|
||||
if not modules.has_key(mod_name):
|
||||
if mod_name not in modules:
|
||||
modules[mod_name] = None
|
||||
sorted.append((normed_name, name))
|
||||
allnames.remove(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue