commit | 6ef18f4fa38583fef9b4a8bcc37a0ce606d3ad42 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Jan 23 21:33:36 2011 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Jan 23 21:33:36 2011 +0000 |
tree | 41214c49688681e0dd8f76e8ae45318da41c4f6b | |
parent | 971f48320bdbaf9b751c04bacc3cc1e034c5e24f [diff] |
Fix typo.
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 @@ 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