#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 jsrn):

 >
 > So, I guess a better plan is to explicitly test (using `inspect.isclass`
 and whether we want the first argument to be stripped:
 > {{{
 > sage: import inspect
 > sage: inspect.isclass(QQ.__class__)
 > True
 > sage: sage.misc.sageinspect.isclassinstance(QQ)
 > True
 > }}}
 >
 > This is what I will replace the "`except TypeError`" with.

 That sounds good. I guess we do not want this stripping down in
 sage_getargspec.

 I'll look into whether sage_getargspec already implements the logic in
 sage_autodoc that I was trying to avoid duplicating when inventing
 _sage_getargspec.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9976#comment:41>
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.

Reply via email to