You shouldn't have the function signature in the docstring for pure python code.  It is only needed for cython. Also, this is out of date :)