basedpyright icon indicating copy to clipboard operation
basedpyright copied to clipboard

no error when subscripting `dict` views from `_collections_abc`

Open KotlinIsland opened this issue 1 year ago • 1 comments

from _collections_abc import dict_keys

a: dict_keys[str, int]  # no error
b: "dict_keys[str, int]"  

+ dict_items and dict_values

KotlinIsland avatar Apr 09 '24 02:04 KotlinIsland

who are its friends?

DetachHead avatar Apr 09 '24 03:04 DetachHead