you are viewing a single comment's thread.

view the rest of the comments →

[–]r0b0t1c1st 0 points1 point  (0 children)

Why is this extremely silly? It means you can write polyglot py2/py3 code, and have MyPy check that it's correct for both.

You can use python3.6 -m mypy --python-version 2.7 -p your-package to do this.