Changeset 391 for python/trunk/Lib/idlelib/TreeWidget.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Lib/idlelib/TreeWidget.py
r2 r391 19 19 import imp 20 20 21 import ZoomHeight22 from configHandler import idleConf21 from idlelib import ZoomHeight 22 from idlelib.configHandler import idleConf 23 23 24 24 ICONDIR = "Icons" … … 398 398 except os.error: 399 399 return [] 400 names.sort( lambda a, b: cmp(os.path.normcase(a), os.path.normcase(b)))400 names.sort(key = os.path.normcase) 401 401 sublist = [] 402 402 for name in names: … … 410 410 class ScrolledCanvas: 411 411 def __init__(self, master, **opts): 412 if not opts.has_key('yscrollincrement'):412 if 'yscrollincrement' not in opts: 413 413 opts['yscrollincrement'] = 17 414 414 self.master = master … … 453 453 454 454 def test(): 455 import PyShell455 from idlelib import PyShell 456 456 root = Toplevel(PyShell.root) 457 457 root.configure(bd=0, bg="yellow")
Note:
See TracChangeset
for help on using the changeset viewer.