#17053: Add function for disjoint union and ordinal sum of posets
-------------------------------------+-------------------------------------
Reporter: jmantysalo | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-wishlist
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jmantysalo/add_function_for_direct_sum_of_posets|
57d243c0c43488259eb065a7ec9d6bc3c2ecac82
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by ncohen):
> How?
http://www.sagemath.org/doc/developer/coding_in_python.html#deprecation
does not tell.
Welll...
{{{
def disjoint_union(self,other,labels="pairs",verbose_relabel=None)
if verbose_relabel is not None:
deprecation(ticket_number, message)
if verbose_relabel:
labels="pairs"
else:
labels="integers"
<do whatever you want considering 'labels' only>
}}}
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/17053#comment:14>
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.
For more options, visit https://groups.google.com/d/optout.