Add support for is and is not keywords

This commit is contained in:
Pragyansh Chaturvedi
2025-10-08 06:04:29 +05:30
committed by varun-r-mallya
parent cfc246c80d
commit 00d1c583af

View File

@ -228,6 +228,8 @@ def _handle_comparator(func, builder, op, lhs, rhs):
ast.LtE: "<=",
ast.Gt: ">",
ast.GtE: ">=",
ast.Is: "==",
ast.IsNot: "!=",
}
if type(op) not in comparison_ops: