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 665a3fa commit 91737ddCopy full SHA for 91737dd
src/sage/combinat/root_system/reflection_group_element.pyx
@@ -812,10 +812,10 @@ cdef class RealReflectionGroupElement(ComplexReflectionGroupElement):
812
False
813
"""
814
if not isinstance(positive, bool):
815
- raise TypeError("%s is not a boolean" % (bool))
+ raise TypeError(f"{positive} is not a boolean")
816
817
if i not in self._parent.index_set():
818
- raise ValueError("the given index %s is not in the index set" % i)
+ raise ValueError(f"the given index {i} is not in the index set")
819
820
negative = not positive
821
0 commit comments