def get_calltip(project, source_code, offset, resource=None, maxfixes=1, ignore_unknown=False, remove_self=False):
 fixer = fixsyntax.FixSyntax(project, source_code, resource, maxfixes)
 pyname = fixer.pyname_at(offset)
 if (pyname is None):
  return None
 pyobject = pyname.get_object()
 return PyDocExtractor().get_calltip(pyobject, ignore_unknown, remove_self)

def get_calltip ( project , source_code , offset , resource = None , maxfixes = 1 , ignore_unknown = False , remove_self = False ) : fixer = fixsyntax . FixSyntax ( project , source_code , resource , maxfixes ) pyname = fixer . pyname_at ( offset ) if ( pyname is None ) : return None pyobject = pyname . get_object ( ) return PyDocExtractor ( ) . get_calltip ( pyobject , ignore_unknown , remove_self )
get the calltip of a function the format of the returned string is module_name .