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