/usr/lib/python2.7/dist-packages/woo/_monkey/__init__.py is in python-woo 1.0+dfsg1-1+b4.
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 | '''
Extend various (python/c++) objects by new methods/properties on them, or modify existing ones.
This approach is called `monkey patching <http://en.wikipedia.org/wiki/Monkey_patching>`_, whence the module name.
This module is imported automatically by Woo at startup and should not be used directly.
'''
from . import io
from . import gts
import traceback
# out-of-class docstrings for some classes
try: from . import extraDocs
except AttributeError:
print 'WARN: Error importing woo._monkey.extraDocs'
traceback.print_exc()
# attribute aliases
try: from . import aliases
except AttributeError:
print 'WARN: Error importing woo._monkey.aliases.py'
traceback.print_exc()
|