[2.7] bpo-32857: Raise error when tkinter after_cancel() is called with None (GH-5701) by csabella · Pull Request #6620 · python/cpython
Conversation
@serhiy-storchaka I had to change the side effect on the tests because nonlocal was invalid. Modifying a dictionary was suggested on SO, but if that isn't the best solution, then I can change it.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @csabella!
I usually use a list, but using a dict is a good solution too, and it it may be the best solution in this case.
csabella
deleted the
backport-74382a3-2.7
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters