#14457: Implement is_empty predicate for Sets
----------------------------------+-----------------------------------------
Reporter: dshurbert | Owner: AlexGhitza
Type: enhancement | Status: new
Priority: minor | Milestone: sage-5.10
Component: algebra | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Davis Shurbert | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by vbraun):
`is_empty` should essentially be an alias for `__nonzero__`, so just punt
to it to avoid code duplication.
Minor nitpicks: "OUTPUT:" should be on a separate line, see
http://www.sagemath.org/doc/developer/conventions.html#docstring-markup-
with-rest-and-sphinx
Also, docstring should be imperative: "Return foobar" instead of "Returns
foobar".
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14457#comment:2>
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.