mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Remove apply()
This commit is contained in:
parent
fe55464f39
commit
d91085598f
56 changed files with 179 additions and 285 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue