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
1ccf44c4
Commit
1ccf44c4
authored
Sep 22, 2015
by
Terry Jan Reedy
Browse files
Options
Browse Files
Download
Plain Diff
Merge with 3.4
parents
982a08f8
a0ae789f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Lib/idlelib/EditorWindow.py
Lib/idlelib/EditorWindow.py
+5
-5
No files found.
Lib/idlelib/EditorWindow.py
View file @
1ccf44c4
...
...
@@ -43,11 +43,6 @@ def _sphinx_version():
class
HelpDialog
(
object
):
def
__init__
(
self
):
import
warnings
as
w
w
.
warn
(
"EditorWindow.HelpDialog is no longer used by Idle.
\
n
"
"It will be removed in 3.6 or later.
\
n
"
"It has been replaced by private help.HelpWindow
\
n
"
,
DeprecationWarning
,
stacklevel
=
2
)
self
.
parent
=
None
# parent of help window
self
.
dlg
=
None
# the help window iteself
...
...
@@ -59,6 +54,11 @@ class HelpDialog(object):
near - a Toplevel widget (e.g. EditorWindow or PyShell)
to use as a reference for placing the help window
"""
import
warnings
as
w
w
.
warn
(
"EditorWindow.HelpDialog is no longer used by Idle.
\
n
"
"It will be removed in 3.6 or later.
\
n
"
"It has been replaced by private help.HelpWindow
\
n
"
,
DeprecationWarning
,
stacklevel
=
2
)
if
self
.
dlg
is
None
:
self
.
show_dialog
(
parent
)
if
near
:
...
...
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