move sys import

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-07-12 23:59:44 +00:00
parent e3d75409c3
commit fd198720e9

View File

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