diff Lib/reprlib.py @ 67729:d1c06306c19b

Fix typo.
author Raymond Hettinger <python@rcn.com>
date Sun, 23 Jan 2011 21:33:36 +0000
parents b8c0ca35979a
children 5548197d1f22
line wrap: on
line diff
--- a/Lib/reprlib.py	Sun Jan 23 21:32:18 2011 +0000
+++ b/Lib/reprlib.py	Sun Jan 23 21:33:36 2011 +0000
@@ -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