basedmypy icon indicating copy to clipboard operation
basedmypy copied to clipboard

`TypedDict` should extend `dict` not `Mapping`

Open KotlinIsland opened this issue 1 year ago • 0 comments

dict[str, int]

class Type(MappedType):
    name: str
dict[Type.Key, Type.Value]  

I don't know how to solve __delitem__/clear yet, but it would be something to do with it's signature indicating that it alters the type somehow.

  • #193

KotlinIsland avatar Apr 07 '24 14:04 KotlinIsland