Ticket #5509 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

[with patch, positive review] Make a parametric_plot.pyx docstring a raw string because of a \times in it.

Reported by: jason Owned by: was
Priority: minor Milestone: sage-3.4.1
Component: graphics Keywords:
Cc: Work issues:
Report Upstream: Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

The following documentation looks weird because the \t in the \times in the string gets converted to a tab.

sage: p.triangulate?
Type:		builtin_function_or_method
Base Class:	<type 'builtin_function_or_method'>
String Form:	<built-in method triangulate of sage.plot.plot3d.parametric_surface.ParametricSurface object at 0xbb0cdec>
Namespace:	Interactive
Docstring:
    
            Call self.eval() for all (u,v) in urange 	imes vrange
            to construct this surface. 

Attachments

trac-5509-raw-docstring.patch Download (727 bytes) - added by jason 4 years ago.

Change History

Changed 4 years ago by jason

comment:1 Changed 4 years ago by jason

  • Summary changed from Make a parametric_plot.pyx docstring a raw string because of a \times in it. to [with patch, needs review] Make a parametric_plot.pyx docstring a raw string because of a \times in it.

This is a trivial patch, I know, but it was also to demonstrate the development process to a student.

comment:2 Changed 4 years ago by was

  • Summary changed from [with patch, needs review] Make a parametric_plot.pyx docstring a raw string because of a \times in it. to [with patch, positive review] Make a parametric_plot.pyx docstring a raw string because of a \times in it.

comment:3 Changed 4 years ago by mabshoff

  • Status changed from new to closed
  • Resolution set to fixed

Merged in Sage 3.4.1.alpha0.

Cheeers,

Michael

Note: See TracTickets for help on using tickets.