diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-23 03:00:07 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-23 03:00:07 (GMT) |
commit | 39677a4088e72b62b35fe4c5ff563c5f1f8ff00c (patch) | |
tree | 7072e793de206270f99d3237fb1f9b1ff772fe7a | |
parent | f9cd8ff14a5830819552b14613f49a196e9d73b6 (diff) | |
parent | 1ccf44c4766644e64c183c0b1dbf00ca76f847cc (diff) | |
download | cpython-39677a4088e72b62b35fe4c5ff563c5f1f8ff00c.zip cpython-39677a4088e72b62b35fe4c5ff563c5f1f8ff00c.tar.gz cpython-39677a4088e72b62b35fe4c5ff563c5f1f8ff00c.tar.bz2 |
Merge with 3.5
-rw-r--r-- | Lib/idlelib/EditorWindow.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index dacb843..74a4749 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -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: |