[issue3422] sphinx.doc.autodoc: Hook for changing argspec

2008-07-29 Thread Pauli Virtanen
Pauli Virtanen <[EMAIL PROTECTED]> added the comment: Thanks, works OK. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing l

[issue3422] sphinx.doc.autodoc: Hook for changing argspec

2008-07-29 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, committed the patch with a few changes in r65290. Let me know if it works! -- resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3422] sphinx.doc.autodoc: Hook for changing argspec

2008-07-24 Thread Pauli Virtanen
Pauli Virtanen <[EMAIL PROTECTED]> added the comment: Suggested patch attached. Tested on Numpy documentation. It adds a new signal, autodoc-process-signature(app, what, name, obj, options, signature, return_annotation) which is assumed to return either None o

[issue3422] sphinx.doc.autodoc: Hook for changing argspec

2008-07-20 Thread Pauli Virtanen
New submission from Pauli Virtanen <[EMAIL PROTECTED]>: It would be useful if the autodoc-process-docstring event from sphinx.ext.autodoc allowed to change the argspec of the function being documented. Some other hook for changing the function signature would also do. We are using Sphin