Skip to content

Commit 204a671

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0b098ac commit 204a671

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mypy/checker.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7127,9 +7127,7 @@ def _propagate_walrus_assignments(
71277127
return parent_expr
71287128
return expr
71297129

7130-
def _collect_walrus_type_map(
7131-
self, expr: Expression, type_map: dict[Expression, Type]
7132-
) -> None:
7130+
def _collect_walrus_type_map(self, expr: Expression, type_map: dict[Expression, Type]) -> None:
71337131
"""Collect type narrowings from walrus assignments nested anywhere in expr.
71347132
71357133
Unlike _propagate_walrus_assignments, this recurses into arbitrary

0 commit comments

Comments
 (0)