# Class k.d.deprecated(object):

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.

Parameters | new | the name of the new function replacing the old deprecated one. (type: string. )
| log | the lob object to use, optional.

def __call__(self, func):
Undocumented