We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fe1a56 commit 5848353Copy full SHA for 5848353
src/sage/combinat/recognizable_series.py
@@ -614,7 +614,7 @@ def is_trivial_zero(self):
614
not self[self.parent().indices()()])
615
616
617
- def __nonzero__(self):
+ def __bool__(self):
618
r"""
619
Return whether this recognizable series is nonzero.
620
@@ -654,6 +654,9 @@ def __nonzero__(self):
654
return True
655
656
657
+ __nonzero__ = __bool__
658
+
659
660
def transposed(self):
661
662
Return the transposed series.
0 commit comments