mirror of
https://github.com/python/cpython
synced 2024-09-16 00:07:33 +00:00
Fix typo.
This commit is contained in:
parent
971f48320b
commit
6ef18f4fa3
|
@ -30,7 +30,7 @@ def wrapper(self):
|
|||
wrapper.__module__ = getattr(user_function, '__module__')
|
||||
wrapper.__doc__ = getattr(user_function, '__doc__')
|
||||
wrapper.__name__ = getattr(user_function, '__name__')
|
||||
wrapper.__name__ = getattr(user_function, '__annotations__', {})
|
||||
wrapper.__annotations__ = getattr(user_function, '__annotations__', {})
|
||||
return wrapper
|
||||
|
||||
return decorating_function
|
||||
|
|
Loading…
Reference in a new issue