#9680: Don't greedily replace 'self' with classname in documentation
-----------------------------+----------------------------------------------
   Reporter:  boothby        |       Owner:  mvngu
       Type:  defect         |      Status:  new  
   Priority:  trivial        |   Milestone:       
  Component:  documentation  |    Keywords:       
     Author:                 |    Upstream:  N/A  
   Reviewer:                 |      Merged:       
Work_issues:                 |  
-----------------------------+----------------------------------------------

Comment(by jhpalmieri):

 I only see this in the notebook.  The cause for the replacement lies in
 the file sagenb/misc/sageinspect.py, the line
 {{{
         s = s.replace('self.','%s.'%obj_name)
 }}}
 in the function sage_getdoc.  There is an identical line in
 sage/misc/sageinspect.py, so I'm not sure why this doesn't show up in the
 command line, but I don't remember all the intricacies of how docstrings
 are produced in the two settings.

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