[issue1342811] Tkinter.Menu.delete doesn't delete command of entry

Guilherme Polo report at bugs.python.org
Mon Aug 18 22:08:12 CEST 2008


Guilherme Polo <ggpolo at gmail.com> added the comment:

You could return if in that new if statement.

As you noted, the None argument is ignored there, that is because
_tkinter checks for a None parameter, and if it happens to be a None, it
then stops processing new arguments, so this is not directly related to
the delete command of the Menu widget.

Regarding a test suite.. it would be very nice to get one for Tkinter.
Some weeks ago I did some googling but found no attempts for my surprise.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1342811>
_______________________________________


More information about the Python-bugs-list mailing list