[Python-checkins] r88152 - python/branches/py3k/Lib/reprlib.py

raymond.hettinger python-checkins at python.org
Sun Jan 23 22:33:36 CET 2011


Author: raymond.hettinger
Date: Sun Jan 23 22:33:36 2011
New Revision: 88152

Log:
Fix typo.

Modified:
   python/branches/py3k/Lib/reprlib.py

Modified: python/branches/py3k/Lib/reprlib.py
==============================================================================
--- python/branches/py3k/Lib/reprlib.py	(original)
+++ python/branches/py3k/Lib/reprlib.py	Sun Jan 23 22:33:36 2011
@@ -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


More information about the Python-checkins mailing list