Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b825a393
Commit
b825a393
authored
Feb 10, 2014
by
Terry Jan Reedy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #20167: Add missing else: break in 3 places as noticed by Serhiy.
parent
d8413bab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Lib/idlelib/MultiCall.py
Lib/idlelib/MultiCall.py
+6
-0
No files found.
Lib/idlelib/MultiCall.py
View file @
b825a393
...
...
@@ -111,6 +111,8 @@ class _SimpleBinder:
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 @@ class _ComplexBinder:
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 MultiCallCreator(widget):
except tkinter.TclError as e:
if e.args[0] == APPLICATION_GONE:
break
else:
raise
_multicall_dict[widget] = MultiCall
return MultiCall
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment