Closed alvarofpp closed 1 year ago
For this task, I am considering the following texts:
My proposal is:
from warnings import warn, DeprecationWarning
def a(self):
warn('You should use the `b` function. The `a` function will be removed in version 3.x.x', DeprecationWarning)
pass
def b(self):
pass
Some links for the record:
Description
We must have a feature depreciation policy, something that allows us to deprecate code in a clear and objective way.
Topics and suggestions
2.1.X
and we remove it at change2.3.0
).