From: Raymond Hettinger Date: Sun, 23 Jan 2011 21:33:36 +0000 (+0000) Subject: Fix typo. X-Git-Tag: v3.2rc2~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ef18f4fa38583fef9b4a8bcc37a0ce606d3ad42;p=python Fix typo. --- diff --git a/Lib/reprlib.py b/Lib/reprlib.py index 9fee3046c6..f8033604da 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