aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/reprlib.py
diff options
context:
space:
mode:
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 19dbe3a07eb..441d1be4bde 100644
--- a/Lib/reprlib.py
+++ b/Lib/reprlib.py
@@ -28,7 +28,7 @@ def recursive_repr(fillvalue='...'):
wrapper.__doc__ = getattr(user_function, '__doc__')
wrapper.__name__ = getattr(user_function, '__name__')
wrapper.__qualname__ = getattr(user_function, '__qualname__')
- wrapper.__annotations__ = getattr(user_function, '__annotations__', {})
+ wrapper.__annotate__ = getattr(user_function, '__annotate__', None)
wrapper.__type_params__ = getattr(user_function, '__type_params__', ())
wrapper.__wrapped__ = user_function
return wrapper