FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix typo. · python/cpython@6ef18f4 · GitHub

Repository navigation

Commit 6ef18f4

Browse files
committed
Fix typo.
1 parent 971f483 commit 6ef18f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/reprlib.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def wrapper(self):
3030
wrapper.__module__ = getattr(user_function, '__module__')
3131
wrapper.__doc__ = getattr(user_function, '__doc__')
3232
wrapper.__name__ = getattr(user_function, '__name__')
33-
wrapper.__name__ = getattr(user_function, '__annotations__', {})
33+
wrapper.__annotations__ = getattr(user_function, '__annotations__', {})
3434
return wrapper
3535

3636
return decorating_function

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL