diff Lib/idlelib/TreeWidget.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 1b02c77cdcfe
children 4bbbe0c55fa2
line wrap: on
line diff
--- a/Lib/idlelib/TreeWidget.py	Tue Aug 22 13:41:17 2006 +0000
+++ b/Lib/idlelib/TreeWidget.py	Tue Aug 22 15:45:46 2006 +0000
@@ -410,7 +410,7 @@
 
 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)