140
120
def decorated_method(self, *args, **kwargs):
141
121
"""This is the decorated method."""
151
126
warn(deprecation_version % symbol, DeprecationWarning, stacklevel=2)
152
127
return callable(self, *args, **kwargs)
153
128
_populate_decorated(callable, deprecation_version, "method",