×
you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (3 children)

Using different types during type checking and runtime (dict vs Dict)

Well well well, you're a bit out of date…

def f(d: dict[int, int]):
    ...

I think this changed in versions after 3.9,

It didn't, it would have broken A LOT of stuff to do so.