mirror of
https://github.com/django/django.git
synced 2025-04-09 15:59:41 +00:00
Nowadays we can use inspect.unwrap() to retrieve the innermost function object when needed, and most of the uses of _decorated_function were to access the original __name__ which is not needed because @functools.wraps sets that attribute correctly.