diff --git a/pymbolic/primitives.py b/pymbolic/primitives.py index a23c25413b613078d4d15b0ab4a7f9e5d97563a9..70427bf654bfa7e1db2f97b8ed258d2d51a89eff 100644 --- a/pymbolic/primitives.py +++ b/pymbolic/primitives.py @@ -964,6 +964,9 @@ class Comparison(Expression): """ .. attribute:: left .. attribute:: operator + + One of ``[">", ">=", "==", "!=", "<", "<="]``. + .. attribute:: right .. note:: @@ -975,10 +978,6 @@ class Comparison(Expression): init_arg_names = ("left", "operator", "right") def __init__(self, left, operator, right): - """ - :arg operator: One of ``[">", ">=", "==", "!=", "<", "<="]``. - """ - self.left = left self.right = right if operator not in [">", ">=", "==", "!=", "<", "<="]: