3 ms·
With type comments you can use it in 2.7 as well: https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-code https://www.pyth
by viraptor 9y ago
With type comments you can use it in 2.7 as well: https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-code https://www.python.org/dev/peps/pep-0484/#suggested-syntax-f...
Mypy supports it: http://mypy.readthedocs.io/en/latest/python2.html http://mypy.readthedocs.io/en/latest/python2.html