diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-02-21 20:27:01 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-02-21 20:27:01 (GMT) |
commit | 3e4caeb3bf2b2579861e9f3379e3508fbb30549c (patch) | |
tree | 05385e9530059fe3608194b2e8d6f9e57d797220 /Demo/tkinter | |
parent | a12a86e956f949bd145cef247a95ed742386c70b (diff) | |
download | cpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.zip cpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.tar.gz cpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.tar.bz2 |
Issue #5341: Fix a variety of spelling errors.
Diffstat (limited to 'Demo/tkinter')
-rw-r--r-- | Demo/tkinter/matt/menu-all-types-of-entries.py | 12 | ||||
-rw-r--r-- | Demo/tkinter/matt/menu-simple.py | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/Demo/tkinter/matt/menu-all-types-of-entries.py b/Demo/tkinter/matt/menu-all-types-of-entries.py index f4afe4a..69a21ca 100644 --- a/Demo/tkinter/matt/menu-all-types-of-entries.py +++ b/Demo/tkinter/matt/menu-all-types-of-entries.py @@ -110,12 +110,12 @@ def makeCascadeMenu(): Cascade_button.menu.choices = Menu(Cascade_button.menu) # ...and this is a menu that cascades from that. - Cascade_button.menu.choices.wierdones = Menu(Cascade_button.menu.choices) + Cascade_button.menu.choices.weirdones = Menu(Cascade_button.menu.choices) # then you define the menus from the deepest level on up. - Cascade_button.menu.choices.wierdones.add_command(label='avacado') - Cascade_button.menu.choices.wierdones.add_command(label='belgian endive') - Cascade_button.menu.choices.wierdones.add_command(label='beefaroni') + Cascade_button.menu.choices.weirdones.add_command(label='avacado') + Cascade_button.menu.choices.weirdones.add_command(label='belgian endive') + Cascade_button.menu.choices.weirdones.add_command(label='beefaroni') # definition of the menu one level up... Cascade_button.menu.choices.add_command(label='Chocolate') @@ -125,8 +125,8 @@ def makeCascadeMenu(): Cascade_button.menu.choices.add_command(label='Rocky Road') Cascade_button.menu.choices.add_command(label='BubbleGum') Cascade_button.menu.choices.add_cascade( - label='Wierd Flavors', - menu=Cascade_button.menu.choices.wierdones) + label='Weird Flavors', + menu=Cascade_button.menu.choices.weirdones) # and finally, the definition for the top level Cascade_button.menu.add_cascade(label='more choices', diff --git a/Demo/tkinter/matt/menu-simple.py b/Demo/tkinter/matt/menu-simple.py index 46b5364..b71c514 100644 --- a/Demo/tkinter/matt/menu-simple.py +++ b/Demo/tkinter/matt/menu-simple.py @@ -48,7 +48,7 @@ def makeFileMenu(): File_button.menu = Menu(File_button) # add an item. The first param is a menu entry type, - # must be one of: "cascade", "checkbutton", "command", "radiobutton", "seperator" + # must be one of: "cascade", "checkbutton", "command", "radiobutton", "separator" # see menu-demo-2.py for examples of use File_button.menu.add_command(label='New...', underline=0, command=new_file) |