Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #17693, comment 36, 37: extend doc to mention more explicitly th…
Browse files Browse the repository at this point in the history
…at merge is not allowed to change keys
  • Loading branch information
dkrenn committed Sep 28, 2015
1 parent d5d6bec commit 6da3db1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/data_structures/mutable_poset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,8 @@ class MutablePoset(SageObject):
``merge`` is ``None`` (default) is equivalent to ``merge``
returning its first argument. Note that it is not allowed that the
key of the returning element differs from the key of the first
input parameter.
input parameter. This means ``merge`` must not change the
position of the element in the poset.
- ``can_merge`` -- a function which checks whether its second argument
can be merged to its first.
Expand Down

0 comments on commit 6da3db1

Please sign in to comment.