def PentagonPoset(*args, **kwds): r""" This function is deprecated and will be removed in a future version of Sage. Please use ``Posets.PentagonPoset`` instead. TESTS:: sage: PentagonPoset() doctest:1: DeprecationWarning: PentagonPoset is deprecated, use Posets.PentagonPoset instead! Finite lattice containing 5 elements """ deprecation("%s is deprecated, use Posets.%s instead!" % \ ("PentagonPoset","PentagonPoset")) return Posets.PentagonPoset(*args, **kwds)
def PentagonPoset(*args, **kwds): r""" This function is deprecated and will be removed in a future version of Sage. Please use ``Posets.PentagonPoset`` instead. TESTS:: sage: PentagonPoset() doctest:...: DeprecationWarning: PentagonPoset is deprecated, use Posets.PentagonPoset instead! See http://trac.sagemath.org/10998 for details. Finite lattice containing 5 elements """ deprecation(10998, "%s is deprecated, use Posets.%s instead!" % \ ("PentagonPoset","PentagonPoset")) return Posets.PentagonPoset(*args, **kwds)