/usr/lib/python2.7/dist-packages/wx-2.6-gtk2-unicode/wxPython/_wx.py is in python-wxgtk2.6 2.6.3.2.2-5ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | # Load all symbols that should appear in the wxPython.wx namespace
from _core import *
from _core import __version__
from _gdi import *
from _windows import *
from _controls import *
from _misc import *
# Cleanup this one.
del wx
# Make some aliases to help backawrds compatibility for the old
# namespace. This is only for code that is using tthe wxPython.wx
# package and using names and classes in the old way. New code should
# use the wx namespace and the new names.
wxPyDefaultPosition = wxDefaultPosition
wxPyDefaultSize = wxDefaultSize
wxNoRefBitmap = wxBitmap
wxSystemSettings_GetSystemColour = wxSystemSettings_GetColour
wxSystemSettings_GetSystemFont = wxSystemSettings_GetFont
wxSystemSettings_GetSystemMetric = wxSystemSettings_GetMetric
wxColor = wxColour
wxNamedColor = wxNamedColour
NULL = None
TRUE = true = True
FALSE = false = False
def wxPyTypeCast(obj, typeStr):
return obj
wxPy_isinstance = isinstance
|