Skip to content

Commit 9ff10da

Browse files
committed
Fixing issue with NewType.
1 parent 97d9179 commit 9ff10da

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/sage/combinat/plane_partition.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@
4444
from sage.sets.family import Family
4545
from sage.sets.non_negative_integers import NonNegativeIntegers
4646

47-
PP = NewType('PP', 'PlanePartition')
48-
4947

5048
@richcmp_method
5149
class PlanePartition(ClonableArray,
@@ -1170,6 +1168,9 @@ def bounding_box(self):
11701168
return (len(self), len(self[0]), self[0][0])
11711169

11721170

1171+
PP = NewType('PP', PlanePartition)
1172+
1173+
11731174
class PlanePartitions(UniqueRepresentation, Parent):
11741175
r"""
11751176
Plane partitions.

0 commit comments

Comments
 (0)