sknano.core.deprecated

sknano.core.deprecated(replacement=None)[source][source]

Decorator to mark functions as deprecated.

Parameters:

replacement : callable, optional

callable that will be called with the same args as the decorated function.

Returns:

decorate : decorated function