Ticket #5028 (closed enhancement: fixed)

Opened 14 months ago

Last modified 14 months ago

[with patch, positive review] point2d? says point.options instead of point2d.options

Reported by: slabbe Owned by: slabbe
Priority: major Milestone: sage-3.3
Component: documentation Keywords: point2d
Cc: Author(s):
Report Upstream: Reviewer(s):
Merged in: Work issues:

Description

sage: point2d?
...
Docstring:
    
        A point of size `pointsize' defined by point = (x,y).
        Point takes either a single tuple of coordinates or a list of tuples.
    
        Type point.options to see all options.
    
        EXAMPLES:
            ...

sage: point.options
Traceback (most recent call last):
...
AttributeError: 'function' object has no attribute 'options'
sage: point2d.options
{'alpha': 1, 'faceted': False, 'pointsize': 10, 'rgbcolor': (0, 0, 1)}

Attachments

point2d_doc_5028.patch Download (0.8 KB) - added by slabbe 14 months ago.

Change History

Changed 14 months ago by slabbe

Changed 14 months ago by slabbe

  • summary changed from point2d? says point.options instead of point2d.options to [with patch, needs review] point2d? says point.options instead of point2d.options

Changed 14 months ago by mhansen

  • summary changed from [with patch, needs review] point2d? says point.options instead of point2d.options to [with patch, positive review] point2d? says point.options instead of point2d.options

Looks good to me.

Changed 14 months ago by mabshoff

  • status changed from new to closed
  • resolution set to fixed

Merged in Sage 3.3.alpha1

Cheers,

Michael

Note: See TracTickets for help on using tickets.