It’s hard for me to imagine a common case where the type has to be exactly dict
(and not any other kind of mapping), but neither the key type nor value type matters at all. It seems like the example you’re pointing at is specifically about testing the functionality of the dict type itself, in the context of type-checkers… ?
1 Like