Skip to content

Commit cbcb51a

Browse files
authored
Narrow for frozendict membership check (#21709)
1 parent af2bc0f commit cbcb51a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

mypy/checker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8892,6 +8892,7 @@ def builtin_item_type(tp: Type) -> Type | None:
88928892
"builtins.list",
88938893
"builtins.tuple",
88948894
"builtins.dict",
8895+
"builtins.frozendict",
88958896
"builtins.set",
88968897
"builtins.frozenset",
88978898
"_collections_abc.dict_keys",

0 commit comments

Comments
 (0)