k.d.deprecated(object) : class documentation

Part of kiwi.decorators View In Hierarchy

I am a decorator which prints a deprecation warning each time you call the decorated (and deprecated) function

Method __init__ Create a new deprecated object.
Method __call__ Undocumented
def __init__(self, new, log=None):

Create a new deprecated object.

Parametersnewthe name of the new function replacing the old deprecated one. (type: string.)
logthe lob object to use, optional.
def __call__(self, func):
Undocumented
API Documentation for Kiwi, generated by pydoctor at 2015-05-06 22:39:09.