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 c1cd529 commit 0932261Copy full SHA for 0932261
mypy/checkexpr.py
@@ -2070,10 +2070,6 @@ def visit_ellipsis(self, e: EllipsisExpr) -> Type:
2070
2071
def visit_op_expr(self, e: OpExpr) -> Type:
2072
"""Type check a binary operator expression."""
2073
- if e.op == 'in':
2074
- self.accept(e.right)
2075
- self.accept(e.left)
2076
- return self.bool_type()
2077
if e.op == 'and' or e.op == 'or':
2078
return self.check_boolean_op(e, e)
2079
if e.op == '*' and isinstance(e.left, ListExpr):
0 commit comments