Skip to content

Commit 84d38f5

Browse files
Update mypy/checkexpr.py
remove unused print statement Co-authored-by: Shantanu <[email protected]>
1 parent b6585ff commit 84d38f5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mypy/checkexpr.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3901,8 +3901,6 @@ def visit_conditional_expr(self, e: ConditionalExpr, allow_none_return: bool = F
39013901
# Analyze the right branch using full type context and store the type
39023902
full_context_else_type = self.analyze_cond_branch(else_map, e.else_expr, context=ctx,
39033903
allow_none_return=allow_none_return)
3904-
3905-
# print(f'{ctx} {if_type} {full_context_else_type}')
39063904
if not mypy.checker.is_valid_inferred_type(if_type):
39073905
# Analyze the right branch disregarding the left branch.
39083906
else_type = full_context_else_type

0 commit comments

Comments
 (0)