Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 3e62324 + 0e79b7e commit 84b48a6Copy full SHA for 84b48a6
1 file changed
Grammar/Grammar
@@ -88,6 +88,8 @@ or_test: and_test ('or' and_test)*
88
and_test: not_test ('and' not_test)*
89
not_test: 'not' not_test | comparison
90
comparison: expr (comp_op expr)*
91
+# <> isn't actually a valid comparison operator in Python. It's here for the
92
+# sake of a __future__ import described in PEP 401
93
comp_op: '<'|'>'|'=='|'>='|'<='|'<>'|'!='|'in'|'not' 'in'|'is'|'is' 'not'
94
star_expr: '*' expr
95
expr: xor_expr ('|' xor_expr)*
0 commit comments