4 ms·
> I’m kinda bummed out that Python devs decided not to backport Python type hints in Python2.7. Can't comment on the site itself, so: PEP 484 - Type hints ( ht
by echion 9y ago
> I’m kinda bummed out that Python devs decided not to backport Python type hints in Python2.7.
Can't comment on the site itself, so: PEP 484 - Type hints ( 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... ) does suggest Python 2.7-compatible type hints, and PyCharm, and probably other IDEs, do support them (e.g., https://www.jetbrains.com/help/pycharm/type-hinting-in-pycharm.html https://www.jetbrains.com/help/pycharm/type-hinting-in-pycha... ).