deprecator 0.3
Author:
Anthony Long
Version:
0.2
- Initial release.
What is Deprecator?
Deprecator is a decorator which helps you to document, and warn users of deprecations.
Usage:
from deprecator import deprecate
def bar(): print("hello")
@deprecate(bar)
def foo(): print("hello")
When called, foo would print:
DeprecationWarning: foo is deprecated; use bar instead.
hello
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.