shnitsel.data.proxy_class#
Classes#
Class to wrap an object of a different kind, forward all provided functionality but also be able to insert additional behavior when certain functions are called. |
Module Contents#
- class Proxy(obj)#
Bases:
objectClass to wrap an object of a different kind, forward all provided functionality but also be able to insert additional behavior when certain functions are called.
- __slots__ = ['_obj', '__weakref__']#
- __getattribute__(name)#
- __delattr__(name)#
- __setattr__(name, value)#
- __nonzero__()#
- __str__()#
- __repr__()#
- __hash__()#
- _special_names = ['__abs__', '__add__', '__and__', '__call__', '__cmp__', '__coerce__', '__contains__',...#
- classmethod _create_class_proxy(theclass)#
creates a proxy for the given class