I have some interfaces in my Python code. I have to somehow write, what types their input parameters have and what types do the methods return.
Just now it is dome like this:
def megaMethod(mega_param):
"""
A cool method! ^__^
mega_param: ndarray
returns: ndarray
"""
assert False
What is the conventional way of such auto-documenting?