4.26. umbra.guerilla

guerilla.py

Platform:
Windows, Linux, Mac Os X.
Description:
This module defines various guerilla / monkey patching objects.
Others:
Portions of the code by Guido Van Rossum: http://mail.python.org/pipermail/python-dev/2008-January/076194.html

4.26.1. Functions

umbra.guerilla.attributeWarfare(object)[source]

This decorator is used to alterate an object attribute using guerilla / monkey patching.

Parameters:object – Object to alterate. ( Object )
Returns:Object. ( Object )
umbra.guerilla.baseWarfare(name, bases, attributes)[source]

This definition adds any number of attributes to an existing class.

Parameters:
  • name – Name. ( String )
  • bases – Bases. ( List )
  • attributes – Attributes. ( Dictionary )
Returns:

Base. ( Object )

Table Of Contents

Previous topic

4.25. umbra.globals.uiConstants

Next topic

4.27. umbra.launcher

This Page