Files
wxWidgets/wxPython/wxPython/__init__.py
Robin Dunn 8a5d65082d Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 18:38:53 +00:00

17 lines
431 B
Python

# The "old" wxPython package
# We need to be able to import from the wx package, but there is also
# a wxPython.wx module and that would normally be chosen first by
# import statements. So instead we'll have a wxPython._wx module and
# then stuff it into sys.modules with a wxPython.wx alias so old
# programs will still work.
import _wx
import sys
sys.modules['wxPython.wx'] = _wx
wx = _wx
del sys
from wx import __version__