8000 Update strict equality allowlist (#11599) · python/mypy@761e1b6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 761e1b6

Browse files
authored
Update strict equality allowlist (#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 8610329 commit 761e1b6

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)
0