Message359369
I propose the below fix:
```
def unbind(self, sequence, funcid=None):
"""Unbind for this widget for event SEQUENCE the
function identified with FUNCID."""
bound = ''
if funcid:
self.deletecommand(funcid)
funcs = self.tk.call('bind', self._w, sequence, None).split('\n')
bound = '\n'.join([f for f in funcs if not f.startswith('if {{"[{0}'.format(funcid))])
self.tk.call('bind', self._w, sequence, bound)
``` |
|
Date |
User |
Action |
Args |
2020-01-05 18:22:42 | glombardo | set | recipients:
+ glombardo, terry.reedy, serhiy.storchaka, j-4321-i |
2020-01-05 18:22:42 | glombardo | set | messageid: <1578248562.19.0.155651411235.issue31485@roundup.psfhosted.org> |
2020-01-05 18:22:42 | glombardo | link | issue31485 messages |
2020-01-05 18:22:42 | glombardo | create | |
|