import deprecated
@deprecated.deprecated('This function will be removed on Feb. 2100.')
def some_old_function(x, y):
return x + y
@deprecated.deprecated('Use another class.')
class SomeOldClass(object):
pass
some_old_function(2, 3)
old = SomeOldClass()
!!!@@@384yhufj # test the behavior of invalid code
some_old_function(2, 3)