summaryrefslogtreecommitdiffstats
path: root/Lib/reprlib.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-23 21:33:36 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-23 21:33:36 (GMT)
commit6ef18f4fa38583fef9b4a8bcc37a0ce606d3ad42 (patch)
tree41214c49688681e0dd8f76e8ae45318da41c4f6b /Lib/reprlib.py
parent971f48320bdbaf9b751c04bacc3cc1e034c5e24f (diff)
downloadcpython-6ef18f4fa38583fef9b4a8bcc37a0ce606d3ad42.zip
cpython-6ef18f4fa38583fef9b4a8bcc37a0ce606d3ad42.tar.gz
cpython-6ef18f4fa38583fef9b4a8bcc37a0ce606d3ad42.tar.bz2
Fix typo.
Diffstat (limited to 'Lib/reprlib.py')
-rw-r--r--Lib/reprlib.py2
1 files changed, 1 insertions, 1 deletions
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 @@ 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