cache the original function by name, so that the decorator doesn't shadow it.
(obj)
| 706 | |
| 707 | |
| 708 | def _cache_original_func(obj) -> None: |
| 709 | """cache the original function by name, so that the decorator doesn't shadow it.""" |
| 710 | _original_funcs[obj.__name__] = obj |
| 711 | |
| 712 | |
| 713 | def _del_original_func(obj): |