diff options
author | Guido van Rossum <guido@python.org> | 2006-08-22 15:45:46 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-08-22 15:45:46 +0000 |
commit | 76c450acc434f0f43e2116a14d3817bead119bd0 (patch) | |
tree | 0aa4aa895873070aed2fdbcd17dff750bd126167 /Lib/idlelib/TreeWidget.py | |
parent | 53d559b49e3f226dbe11517570d92c5949a3f969 (diff) | |
download | cpython-76c450acc434f0f43e2116a14d3817bead119bd0.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/TreeWidget.py')
-rw-r--r-- | Lib/idlelib/TreeWidget.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/TreeWidget.py b/Lib/idlelib/TreeWidget.py index c5c171fb83..1d777dfb49 100644 --- a/Lib/idlelib/TreeWidget.py +++ b/Lib/idlelib/TreeWidget.py @@ -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) |