Issue #20167: Add missing else: break in 3 places as noticed by Serhiy.

This commit is contained in:
Terry Jan Reedy 2014-02-10 16:46:28 -05:00
parent d8413bab22
commit b825a3937c
1 changed files with 6 additions and 0 deletions

View File

@ -111,6 +111,8 @@ def __del__(self):
except tkinter.TclError as e:
if e.args[0] == APPLICATION_GONE:
pass
else:
raise
# An int in range(1 << len(_modifiers)) represents a combination of modifiers
# (if the least significent bit is on, _modifiers[0] is on, and so on).
@ -244,6 +246,8 @@ def __del__(self):
except tkinter.TclError as e:
if e.args[0] == APPLICATION_GONE:
break
else:
raise
# define the list of event types to be handled by MultiEvent. the order is
# compatible with the definition of event type constants.
@ -411,6 +415,8 @@ def __del__(self):
except tkinter.TclError as e:
if e.args[0] == APPLICATION_GONE:
break
else:
raise
_multicall_dict[widget] = MultiCall
return MultiCall