Skip to content

wrapper

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License with attribution required

Original code by http://stackoverflow.com/users/416467/kindall from answer 4 of http://stackoverflow.com/questions/9057669/how-can-i-intercept-calls-to-pythons-magic-methods-in-new-style-classes

Wrapper

Bases: mk_wrapper_baseclass(WrapperMeta)

Wrapper class that provides proxy access to an instance of some internal instance.

WrapperMeta

Bases: type

Metaclass for type wrappers.