Skip to content
Snippets Groups Projects
Commit 451916e3 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Minor doc fix

parent 38f05a83
No related branches found
No related tags found
No related merge requests found
......@@ -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 [">", ">=", "==", "!=", "<", "<="]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment