
May 31, 2008
9:49 p.m.
Hi, I'd like to adjust the way numpy.core.umath ufunc docstrings are defined to make them more easy to handle in the ongoing documentation marathon: - Remove the signature magic in ufunc_get_doc - Define ufunc docstrings in a separate module instead of in generate_umath.py, in the same format as in add_newdocs.py Suggested patch is attached; it passes numpy tests. Any thoughts on whether it should go in? I was also thinking about the problem with pydoc.help and ufuncs: would making PyUFuncObject a subclass of PyFunctionObject be a reasonable fix? Pauli