deprecator 0.3

Creator: bradpython12

Last updated:

Add to Cart

Description:

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.