summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-07-24 21:02:15 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-07-24 21:02:15 (GMT)
commit0bbfd832504565d6c2a19907424ed29bc2ff52c2 (patch)
treeaa0b65228fa9465c5c4f6e23987288170a8d73e5 /Lib/idlelib
parentafb44f47d9a90ce85ddfb23f91bedb9e1064b035 (diff)
downloadcpython-0bbfd832504565d6c2a19907424ed29bc2ff52c2.zip
cpython-0bbfd832504565d6c2a19907424ed29bc2ff52c2.tar.gz
cpython-0bbfd832504565d6c2a19907424ed29bc2ff52c2.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/macosxSupport.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/idlelib/macosxSupport.py b/Lib/idlelib/macosxSupport.py
index 8aea160..ad61fff 100644
--- a/Lib/idlelib/macosxSupport.py
+++ b/Lib/idlelib/macosxSupport.py
@@ -30,7 +30,7 @@ def overrideRootMenu(root, flist):
Replace the Tk root menu by something that's more appropriate for
IDLE.
"""
- # The menu that is attached to the Tk root (".") is also used by AquaTk for
+ # The menu that is attached to the Tk root (".") is also used by AquaTk for
# all windows that don't specify a menu of their own. The default menubar
# contains a number of menus, none of which are appropriate for IDLE. The
# Most annoying of those is an 'About Tck/Tk...' menu in the application
@@ -82,7 +82,7 @@ def overrideRootMenu(root, flist):
for mname, entrylist in Bindings.menudefs:
menu = menudict.get(mname)
- if not menu:
+ if not menu:
continue
for entry in entrylist:
if not entry:
@@ -90,14 +90,14 @@ def overrideRootMenu(root, flist):
else:
label, eventname = entry
underline, label = prepstr(label)
- accelerator = get_accelerator(Bindings.default_keydefs,
+ accelerator = get_accelerator(Bindings.default_keydefs,
eventname)
def command(text=root, eventname=eventname):
text.event_generate(eventname)
menu.add_command(label=label, underline=underline,
command=command, accelerator=accelerator)
-
+