Skip to content

Commit 32b5de1

Browse files
JukkaLtushar-deepsource
authored andcommitted
Update strict equality allowlist (python#11599)
Names of some of types have changed in typeshed. Accept both the old and the new names for now. Tested manually with the latest typeshed.
1 parent 1f3d435 commit 32b5de1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mypy/checkexpr.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@
107107
"typing.ItemsView",
108108
"builtins._dict_keys",
109109
"builtins._dict_items",
110+
"_collections_abc.dict_keys",
111+
"_collections_abc.dict_items",
110112
]
111113

112114

0 commit comments

Comments
 (0)