#9976: Decorated functions/methods have generic signature in documentation
--------------------------------+-------------------------------------------
Reporter: jsrn | Owner: jsrn
Type: enhancement | Status: needs_work
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):
OK, the monkey fails because the regular expression does not correctly
determine where the colong belongs to. One obtains the string `"def
dummy(a={(1+2) :\n return"`, which is then analyzed.
Too bad.
Another solution should be found. How complicated? Is there a parsing tool
that counts opening and closing brackets? Outside strings? By this I mean
the following:
{{{
def foo(a="):", b=4):
return "something"
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9976#comment:97>
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.