[python] Getting the docstring from a function