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
237e8f53
Commit
237e8f53
authored
Jul 20, 2013
by
Ned Deily
Browse files
Options
Browse Files
Download
Plain Diff
Issue #17532: merge from 3.3
parents
603bd2d3
8e8b9ba7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Lib/idlelib/EditorWindow.py
Lib/idlelib/EditorWindow.py
+5
-1
No files found.
Lib/idlelib/EditorWindow.py
View file @
237e8f53
...
...
@@ -821,7 +821,11 @@ class EditorWindow(object):
menuEventDict
[
menu
[
0
]][
prepstr
(
item
[
0
])[
1
]]
=
item
[
1
]
for
menubarItem
in
self
.
menudict
:
menu
=
self
.
menudict
[
menubarItem
]
end
=
menu
.
index
(
END
)
+
1
end
=
menu
.
index
(
END
)
if
end
is
None
:
# Skip empty menus
continue
end
+=
1
for
index
in
range
(
0
,
end
):
if
menu
.
type
(
index
)
==
'command'
:
accel
=
menu
.
entrycget
(
index
,
'accelerator'
)
...
...
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