3 ms·
Yes, Python has type hinting since 3.5[1]. https://www.python.org/dev/peps/pep-0484/ https://www.python.org/dev/peps/pep-0484/
by noname120 8y ago
Yes, Python has type hinting since 3.5[1].
https://www.python.org/dev/peps/pep-0484/ https://www.python.org/dev/peps/pep-0484/
- yen223 8y agoTo be clear, Python has had type annotations for a while now, but the default CPython interpreter doesn't use that information to optimise performance.
- UncleEntity 8y agoThe CPython interpreter does very little to optimise performance because, as the reference implementation, they strive for simplicity of implementation.