cpython: c607004a98bf (original) (raw)

Mercurial > cpython

changeset 98205:c607004a98bf 3.4

Issue #16893: Move idlelib.EditorWindow.HelpDialog deprecation warning so it is not triggered on import. The problem is creation of a now-unused instance "helpDialog = HelpDialog()", left for back compatibility. So instead trigger the warning when that instance or another is used. [#16893]

Terry Jan Reedy tjreedy@udel.edu
date Tue, 22 Sep 2015 22:59:40 -0400
parents ff7aba08ada6
children 16b9207225d4 1fc049e5ec14
files Lib/idlelib/EditorWindow.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-)[+] [-] Lib/idlelib/EditorWindow.py 10

line wrap: on

line diff

--- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -43,11 +43,6 @@ def _sphinx_version(): class HelpDialog(object): def init(self):

@@ -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 """