]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxPython/__init__.py
Patch #949276: Less agresive strings test.
[wxWidgets.git] / wxPython / wxPython / __init__.py
1 # The "old" wxPython package
2
3
4 # We need to be able to import from the wx package, but there is also
5 # a wxPyton.wx module and that would normally be chosen first by
6 # import statements. So instead we'll have a wxPython._wx module and
7 # then stuff it into sys.modules with a wxPython.wx alias so old
8 # programs will still work.
9
10 import _wx
11 import sys
12 sys.modules['wxPython.wx'] = _wx
13 wx = _wx
14 del sys
15
16 from wx import __version__