Nick Coghlan added the comment: Right, I started asking myself the same question, and then began poking around in the functools.partial implementation (https://hg.python.org/cpython/file/9be2405385ec/Modules/_functoolsmodule.c#l12)
---------- resolution: not a bug -> stage: resolved -> status: closed -> open title: functools.wraps should be able to change function argspec as well -> Accept a separate "target _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23764> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com