/usr/share/pyshared/wx-2.8-gtk2-unicode/wxPython/activex.py is in python-wxgtk2.8 2.8.12.1-6ubuntu2.
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 35 36 37 38 39 | ## This file reverse renames symbols in the wx package to give
## them their wx prefix again, for backwards compatibility.
##
## Generated by BuildRenamers in config.py
# This silly stuff here is so the wxPython.wx module doesn't conflict
# with the wx package. We need to import modules from the wx package
# here, then we'll put the wxPython.wx entry back in sys.modules.
import sys
_wx = None
if sys.modules.has_key('wxPython.wx'):
_wx = sys.modules['wxPython.wx']
del sys.modules['wxPython.wx']
import wx.activex
sys.modules['wxPython.wx'] = _wx
del sys, _wx
# Now assign all the reverse-renamed names:
CLSID = wx.activex.CLSID
wxParamX = wx.activex.ParamX
wxFuncX = wx.activex.FuncX
wxPropX = wx.activex.PropX
wxParamXArray = wx.activex.ParamXArray
wxFuncXArray = wx.activex.FuncXArray
wxPropXArray = wx.activex.PropXArray
wxActiveXWindow = wx.activex.ActiveXWindow
RegisterActiveXEvent = wx.activex.RegisterActiveXEvent
wxActiveXEvent = wx.activex.ActiveXEvent
wxIEHtmlWindowBase = wx.activex.IEHtmlWindowBase
d = globals()
for k, v in wx.activex.__dict__.iteritems():
if k.startswith('EVT'):
d[k] = v
del d, k, v
|