Skip to content

Commit 660c862

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 55cbe2e commit 660c862

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

mypy/nodes.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2681,9 +2681,7 @@ class DictExpr(Expression):
26812681
from_dict_call: bool
26822682

26832683
def __init__(
2684-
self,
2685-
items: list[tuple[Expression | None, Expression]],
2686-
from_dict_call: bool = False,
2684+
self, items: list[tuple[Expression | None, Expression]], from_dict_call: bool = False
26872685
) -> None:
26882686
super().__init__()
26892687
self.items = items

test-data/unit/check-expressions.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2587,4 +2587,4 @@ def last_known_value() -> None:
25872587
[case testDictUnpackNonStringKey]
25882588
def f() -> None:
25892589
dict(**{10: 20}) # E: Argument after ** must have string keys
2590-
[builtins fixtures/dict.pyi]
2590+
[builtins fixtures/dict.pyi]

0 commit comments

Comments
 (0)