]> granicus.if.org Git - python/commitdiff
Fix typo.
authorRaymond Hettinger <python@rcn.com>
Sun, 23 Jan 2011 21:33:36 +0000 (21:33 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 23 Jan 2011 21:33:36 +0000 (21:33 +0000)
Lib/reprlib.py

index 9fee3046c69af3356b36303c303a3ddc926e0585..f8033604da28da12dcad7d164580be638e51904a 100644 (file)
@@ -30,7 +30,7 @@ def recursive_repr(fillvalue='...'):
         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