#9976: Decorated functions/methods have generic signature in documentation
--------------------------------+-------------------------------------------
Reporter: jsrn | Owner: mvngu
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):
Replying to [comment:50 SimonKing]:
> Replying to [comment:48 jsrn]:
> > Ok, this seems to work (for me at least). I've made a patch for
changing sageinspect into returning ArgSpec, and I've redone my original
patch into using _sage_argspec as the place for decorators to put the
ArgSpec of the wrapped callable. These patches might cause your later
patches to not apply anymore, but the changes should be trivial.
>
> That's not nice. I was working on replacing tuple by named tuple as
well. So, now we have to merge patches.
PS: Your patch does not suffice, as one will need to change a doctest in
element.pyx.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9976#comment:51>
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.