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

Commit

Permalink
some more links in catalog of posets
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Oct 11, 2021
1 parent 52915b6 commit cfe4512
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/sage/combinat/posets/poset_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,20 @@
:meth:`~Posets.YoungsLatticePrincipalOrderIdeal` | Return the principal order ideal of the partition `lam` in Young's Lattice.
:meth:`~Posets.YoungFibonacci` | Return the Young-Fibonacci lattice up to rank `n`.
**Other available posets:**
.. csv-table::
:class: contentstable
:widths: 30, 70
:delim: |
:meth:`~sage.geometry.polyhedron.base.Polyhedron_base.face_lattice` | Return the face lattice of a polyhedron.
:meth:`~sage.geometry.polyhedron.combinatorial_polyhedron.base.CombinatorialPolyhedron.face_lattice` | Return the face lattice of a combinatorial polyhedron.
Constructions
-------------
"""
#*****************************************************************************
# ****************************************************************************
# Copyright (C) 2008 Peter Jipsen <jipsen@chapman.edu>,
# Franco Saliola <saliola@gmail.com>
#
Expand All @@ -81,8 +91,8 @@
#
# The full text of the GPL is available at:
#
# http://www.gnu.org/licenses/
#*****************************************************************************
# https://www.gnu.org/licenses/
# ****************************************************************************

from sage.misc.classcall_metaclass import ClasscallMetaclass
import sage.categories.posets
Expand Down Expand Up @@ -130,7 +140,7 @@ class Posets(metaclass=ClasscallMetaclass):
sage: TestSuite(P).run()
"""
@staticmethod
def __classcall__(cls, n = None):
def __classcall__(cls, n=None):
r"""
Return either the category of all posets, or the finite
enumerated set of all finite posets on ``n`` elements up to an
Expand Down

0 comments on commit cfe4512

Please sign in to comment.