diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-03-14 06:52:31 -0700 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-03-15 10:03:12 +0000 |
commit | 4ba4edd15085ce31145ef5da6342e435c57c1150 (patch) | |
tree | 0307df73bf37be512c01a0a99b12ea2cde7252a5 /src/vppinfra/test_time.c | |
parent | e3a0e6e8bfe989a643f90902dd214c46ae69597e (diff) |
Add @deprecated decorator.
import deprecation
@deprecation.deprecated(deprecated_in="1.0", removed_in="2.0",
current_version=__version__,
details="Use the bar function instead")
def foo():
"""Do some stuff"""
return 1
Change-Id: Ib2ec5dd90445c9967eb39dbf6543cafd48b7f866
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vppinfra/test_time.c')
0 files changed, 0 insertions, 0 deletions