From fd198720e931f731f2675f854ff92efae8efd48d Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 12 Jul 2012 23:59:44 +0000 Subject: [PATCH] move sys import git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/core_ex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core_ex.py b/src/core_ex.py index c7b0f18c..13284a61 100644 --- a/src/core_ex.py +++ b/src/core_ex.py @@ -1,3 +1,4 @@ +import sys as _sys # Load version numbers from __version__... Ensure that major and minor # versions are the same for both wxPython and wxWidgets. @@ -13,7 +14,6 @@ if 'wxEVT_NULL' in dir(): # Create an object that will cleanup wxWidgets when it is GC'd and save # it in sys so it won't be GC'd until Python is shutting down. - import sys as _sys class __wxPyCleanup: def __init__(self): self.cleanup = wx._core._wxPyCleanup