(*args, **kwargs)
| 278 | elif inspect.isfunction(obj): |
| 279 | |
| 280 | def wrapped(*args, **kwargs): |
| 281 | warn_deprecated(name, use_instead, remove_in, module_name) |
| 282 | return obj(*args, **kwargs) |
| 283 | |
| 284 | wrapped.__doc__ = f"Deprecated: Use {use_instead} instead" |
| 285 | return wrapped |
nothing calls this directly
no test coverage detected