3 ms·
Although it won't help when using other people's libraries/code, when you're building your own code then you'll probably enjoy Python 3.5's type hints on functi
by rpeden 11y ago
Although it won't help when using other people's libraries/code, when you're building your own code then you'll probably enjoy Python 3.5's type hints on function parameters. They negate the need for doing hacky things like specifying types in docstrings.
https://docs.python.org/3/library/typing.html#module-typing https://docs.python.org/3/library/typing.html#module-typing