mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +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
|
@ -410,7 +410,7 @@ class FileTreeItem(TreeItem):
|
|||
|
||||
class ScrolledCanvas:
|
||||
def __init__(self, master, **opts):
|
||||
if not opts.has_key('yscrollincrement'):
|
||||
if 'yscrollincrement' not in opts:
|
||||
opts['yscrollincrement'] = 17
|
||||
self.master = master
|
||||
self.frame = Frame(master)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue