summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-23 21:05:46 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-23 21:05:46 (GMT)
commit98b140c19620eae8e6e44d9edc7ab02aaeaa4031 (patch)
tree2021953fb225ddeab59694816cf8ce7aee142cb1 /Lib
parente6d4c5bab8d18e32bba6482da1b603b35f2fe254 (diff)
downloadcpython-98b140c19620eae8e6e44d9edc7ab02aaeaa4031.zip
cpython-98b140c19620eae8e6e44d9edc7ab02aaeaa4031.tar.gz
cpython-98b140c19620eae8e6e44d9edc7ab02aaeaa4031.tar.bz2
Add entry for reprlib.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/reprlib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/reprlib.py b/Lib/reprlib.py
index 7b5c436..9fee304 100644
--- a/Lib/reprlib.py
+++ b/Lib/reprlib.py
@@ -30,6 +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__', {})
return wrapper
return decorating_function