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@python
components: Documentation
messages: 222426
nosy: Dustin.Oprea, docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21928>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to