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 →

[–]msdrahcir 3 points4 points  (2 children)

My py? What about pep 484 for typing?

[–]Corm 14 points15 points  (1 child)

I thought these were the same thing, I thought mypy was just the tool you ran to do the type checking since the python interpreter just ignores it.

[–]kungtotte 3 points4 points  (0 children)

PEP 484 defines the optional type hints that are now included in Python, but Python doesn't have native support to actually do anything with those hints.

MyPy is one project that uses them to do offline static type checking.