I found my answer. as of python 3.5
import typing def foo(bar: int) --> int: return bar**2 in ipython when you enter, "foo()" it wll prompt with "bar: int returns int". this also works with class types. class Baz: def __init__(self): pass def foo(bar: Baz) --> None: pass
Moderator Larz60+: Added Python tags. Please do this in the future (see help, BBCODE)
second notice