summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2009-07-02 15:37:21 (GMT)
committerJesus Cea <jcea@jcea.es>2009-07-02 15:37:21 (GMT)
commit585ad8ae5e352c99bbd87955c64cc9a0654da8c3 (patch)
tree98c559aa59ba10d42e6383626b33433343e6b4fc /Demo
parentb73effab2828b244d2b91d466f7a89df94a6c036 (diff)
downloadcpython-585ad8ae5e352c99bbd87955c64cc9a0654da8c3.zip
cpython-585ad8ae5e352c99bbd87955c64cc9a0654da8c3.tar.gz
cpython-585ad8ae5e352c99bbd87955c64cc9a0654da8c3.tar.bz2
Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69846 | mark.dickinson | 2009-02-21 21:27:01 +0100 (Sat, 21 Feb 2009) | 2 lines Issue #5341: Fix a variety of spelling errors. ........
Diffstat (limited to 'Demo')
-rw-r--r--Demo/tkinter/matt/menu-all-types-of-entries.py12
-rw-r--r--Demo/tkinter/matt/menu-simple.py2
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)