sknano.core.deprecated¶
-
sknano.core.deprecated(replacement=None)[source][source]¶ Deprecated decorator.
A decorator which can be used to mark functions as deprecated. replacement is a callable that will be called with the same args as the decorated function.
Source: http://code.activestate.com/recipes/577819-deprecated-decorator/ Original Author: Giampaolo Rodola’ <g.rodola [AT] gmail [DOT] com> License: MIT
Parameters: replacement : callable, optional Returns: decorator : decorator function