Fix typo.
diff --git a/Lib/reprlib.py b/Lib/reprlib.py
index 9fee304..f803360 100644
--- a/Lib/reprlib.py
+++ b/Lib/reprlib.py
@@ -30,7 +30,7 @@
         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