Hacker News new | ask | show | jobs
by rpeden 3851 days 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