Fix typo.

This commit is contained in:
Raymond Hettinger 2011-01-23 21:33:36 +00:00
parent 971f48320b
commit 6ef18f4fa3
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def recursive_repr(fillvalue='...'):
wrapper.__module__ = getattr(user_function, '__module__') wrapper.__module__ = getattr(user_function, '__module__')
wrapper.__doc__ = getattr(user_function, '__doc__') wrapper.__doc__ = getattr(user_function, '__doc__')
wrapper.__name__ = getattr(user_function, '__name__') wrapper.__name__ = getattr(user_function, '__name__')
wrapper.__name__ = getattr(user_function, '__annotations__', {}) wrapper.__annotations__ = getattr(user_function, '__annotations__', {})
return wrapper return wrapper
return decorating_function return decorating_function