summaryrefslogtreecommitdiff
path: root/Demo/tkinter/guido/optionmenu.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-17 08:00:19 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-17 08:00:19 +0000
commitd91085598f5185b267ea51a3f615da9527af2ed2 (patch)
tree80849b9455438e9963a61d7aff3fc3b060213553 /Demo/tkinter/guido/optionmenu.py
parentfe55464f393fc002fd0911a4d8dba6694723d408 (diff)
downloadcpython-git-d91085598f5185b267ea51a3f615da9527af2ed2.tar.gz
Remove apply()
Diffstat (limited to 'Demo/tkinter/guido/optionmenu.py')
-rw-r--r--Demo/tkinter/guido/optionmenu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/guido/optionmenu.py b/Demo/tkinter/guido/optionmenu.py
index be9d3ac2a6..7365fa628e 100644
--- a/Demo/tkinter/guido/optionmenu.py
+++ b/Demo/tkinter/guido/optionmenu.py
@@ -21,7 +21,7 @@ CHOICES = "Aah", "Bee", "Cee", "Dee", "Eff"
var2 = StringVar()
var2.set(CHOICES[0])
-menu2 = apply(OptionMenu, (root, var2) + tuple(CHOICES))
+menu2 = OptionMenu(root, var2, *CHOICES)
menu2.pack()
root.mainloop()