#7477: Matroids
----------------------------------------------------+-----------------------
Reporter: ncohen | Owner: jkantor
Type: enhancement | Status:
needs_review
Priority: major | Milestone: sage-5.10
Component: combinatorics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Stefan van Zwam, Rudi Pendavingh | Merged in:
Dependencies: #14669 | Stopgaps:
----------------------------------------------------+-----------------------
Comment (by vbraun):
For the record, `self` is not considered an argument for docstring
purposes. Skip `INPUT` if `self` is the only argument, and list everything
except `self` otherwise. The `OUTPUT` is a good place to say something
about the type of the output. Can be very short:
{{{
def is_cosimple(self):
"""
Test whether the matroid is cosimple.
A matriod is *cosimple* if ...
OUTPUT:
Boolean.
EXAMPLES::
...
}}}
Its not silly, since Python is dynamically typed it is generally not
obvious what the result type will be.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7477#comment:59>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.