skip to navigation
skip to content

deprecator 0.3

Deprecator provides a decorator to easily depreate old code.

What is Deprecator?

Deprecator is a decorator which helps you to document, and warn users of deprecations.


from deprecator import deprecate

def bar(): print("hello")

def foo(): print("hello")

When called, foo would print:

DeprecationWarning: foo is deprecated; use bar instead.


File Type Py Version Uploaded on Size
deprecator-0.3.macosx-10.10-x86_64.exe (md5) MS Windows installer any 2015-06-03 62KB
deprecator-0.3.macosx-10.10-x86_64.tar.gz (md5)
built for Darwin-14.3.0
"dumb" binary any 2015-06-03 2KB
deprecator-0.3.tar.gz (md5) Source 2015-06-03 1KB (md5) Source 2015-06-03 2KB