[docs] [issue21928] Incorrect reference to partial() in functools.wraps documentation

R. David Murray report at bugs.python.org
Tue Jul 15 19:12:13 CEST 2014

R. David Murray added the comment:

I would rewrite it as:

This is a convenience function for invoking update_wrapper() as a function decorator when defining a wrapper function.  It is equivalent to partial(update_wrapper, wrapped=wrapped, assigned=assigned, updated=updated).  For example:

status: pending -> open

Python tracker <report at bugs.python.org>

More information about the docs mailing list