Skip to content

Commit 46fe2a4

Browse files
use from_omitted_generics variant
1 parent a9eef8b commit 46fe2a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/checkmember.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ def analyze_typeddict_access(
14131413
id=TypeVarId(-1),
14141414
values=[],
14151415
upper_bound=object_type,
1416-
default=AnyType(TypeOfAny.unannotated),
1416+
default=AnyType(TypeOfAny.from_omitted_generics),
14171417
)
14181418
overloads: list[CallableType] = []
14191419
for key, val in typ.items.items():

0 commit comments

Comments
 (0)