Type hinting in Python
- by pingvinus
I'm studying Python after a lot of PHP experience and it would be handy to have type-hinting in Python. Looks like eclipse + pydev doesn't support this. Any suggestions?
For example, I want my IDE to show function docstrings and types, when I use it, like:
def f(x: int) -> int:
r"""Adds 3 to x"""
return x + 3
f( #and now IDE shows everything about types