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

Dustin Oprea report at bugs.python.org
Mon Jul 7 02:05:51 CEST 2014


New submission from Dustin Oprea:

functools.wraps docs say "This is a convenience function for invoking partial(update_wrapper, wrapped=wrapped, assigned=assigned, updated=updated) as a function decorator when defining a wrapper function." The referenced function should be update_wrapper(), not partial().

----------
assignee: docs at python
components: Documentation
messages: 222426
nosy: Dustin.Oprea, docs at python
priority: normal
severity: normal
status: open
title: Incorrect reference to partial() in functools.wraps documentation
versions: Python 2.7, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21928>
_______________________________________


More information about the docs mailing list