#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: Simon King | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
Comment(by jsrn):
Wow, a lot of action since I left work yesterday ;-)
Replying to [comment:138 SimonKing]:
> I think I got it to work.
> ...
>
> `test2 = cached_function(test1)` is not the recommended way of creating
a cached function: It should be used as in the definition of test3. So, I
think it is ok that the documentation of test1 appears twice. The above is
just what we want, right?
>
> I am preparing a patch now, and posting in a few minutes.
Yes, I agree that is a sensible documentation output. I'll run it and test
it -- also with the earlier concerns we had. I will also test timing, as
it seems that your fix -- though seems to be working fine -- might cost
some time to compute for many callables. We'll see...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9976#comment:140>
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.