3 ms·
Got a link to more info on that python thing? Sounds interesting.
by josteink 10y ago
Got a link to more info on that python thing? Sounds interesting.
- WorldMaker 10y agoThe PEP on it: https://www.python.org/dev/peps/pep-3107/ https://www.python.org/dev/peps/pep-3107/ Basically, Python 3 added syntax for annotations, but most of the syntax is make sure it parses like code expressions would, then ignore whatever those code expressions are.