From 6ef18f4fa38583fef9b4a8bcc37a0ce606d3ad42 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 23 Jan 2011 21:33:36 +0000 Subject: Fix typo. --- Lib/reprlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12