#9976: Decorated functions/methods have generic signature in documentation
--------------------------------+-------------------------------------------
Reporter: jsrn | Owner: jsrn
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7
Component: documentation | Keywords: sphinx, documentation, cython
inspection
Author: jsrn, Simon King | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
Comment(by SimonKing):
Replying to [comment:87 jsrn]:
> Oh, one more thing: I don't understand the "except TypeError" on line
763. When will the exception be thrown and why do you revert to Cython
parsing in those cases?
Here is an example where the code is used:
{{{
sage: from sage.rings.polynomial.real_roots import
bernstein_polynomial_factory_ratlist
sage: from sage.misc.sageinspect import sage_getargspec
sage: sage_getargspec(bernstein_polynomial_factory_ratlist.coeffs_bitsize)
ArgSpec(args=['self'], varargs=None, keywords=None, defaults=None)
}}}
You can see it when you insert some print statements in the relevant lines
of code (that is what I just did). Note that this example is a doc test. I
found it when in an early version of my patch the documentation did not
build.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9976#comment:91>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.