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

Commit

Permalink
src/sage/combinat/root_system/pieri_factors.py: Use sorted in doctest…
Browse files Browse the repository at this point in the history
… for python 3.9
  • Loading branch information
Matthias Koeppe committed Sep 18, 2020
1 parent 5548c0d commit 4a9362e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/combinat/root_system/pieri_factors.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ def elements(self):
EXAMPLES::
sage: PF = WeylGroup(['A',3]).pieri_factors()
sage: [w.reduced_word() for w in PF.elements()]
[[3, 2, 1], [2, 1], [3, 1], [3, 2], [2], [1], [3], []]
sage: sorted(w.reduced_word() for w in PF.elements())
[[], [1], [2], [2, 1], [3], [3, 1], [3, 2], [3, 2, 1]]
.. SEEALSO:: :meth:`maximal_elements`
Expand Down

0 comments on commit 4a9362e

Please sign in to comment.