(*args, **kwargs)
| 139 | def deprecated_inner(func): |
| 140 | @functools.wraps(func) |
| 141 | def new_func(*args, **kwargs): |
| 142 | name = "{} [{}]".format(func.__name__, get_location()) |
| 143 | log_deprecated(name, text, eos, max_num_warnings=max_num_warnings) |
| 144 | return func(*args, **kwargs) |
| 145 | return new_func |
| 146 | return deprecated_inner |
| 147 |
nothing calls this directly
no test coverage detected