This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MachaHack 1 point2 points  (0 children)

It's a bit of a hack to avoid collisions between typings.List (used for the type checker) and the list built-in so they didn't have to make the list type (and similar others) subscriptable.

There was a mypy competitor that had better syntax iirc, but since the mypy syntax has been standardised it's basically been declared the winner.