Serhiy Storchaka added the comment:

Tk do not provide a way of unbinding a specific command. It supports binding a 
script with replacing an existing binding, appending a script to an existing 
binding, and destroying an existing binding. Unbinding a specific command can 
be implemented in Python with a code similar to your example, but more complex 
due to taking to account different corner cases.

Do you want to write a patch and open a pull request Juliette?

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31485>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to