'Show signature calltip and/or docstring in the Help plugin'

def show_object_info(self, text, call=False, force=False):

    text = to_text_string(text)
    help_enabled = (self.help_enabled or force)
    if (force and (self.help is not None)):
        self.help.dockwidget.setVisible(True)
        self.help.dockwidget.raise_()
    if (help_enabled and (self.help is not None) and self.help.dockwidget.isVisible()):
        if hasattr(self, 'get_doc'):
            self.help.set_shell(self)
        else:
            self.help.set_shell(self.parent())
        self.help.set_object_text(text, ignore_unknown=False)
        self.setFocus()
    if (call and self.calltips):
        iscallable = self.iscallable(text)
        if (iscallable is not None):
            if iscallable:
                arglist = self.get_arglist(text)
                name = text.split('.')[(-1)]
                argspec = signature = ''
                if isinstance(arglist, bool):
                    arglist = []
                if arglist:
                    argspec = (('(' + ''.join(arglist)) + ')')
                else:
                    doc = self.get__doc__(text)
                    if (doc is not None):
                        argspec = getargspecfromtext(doc)
                        if (not argspec):
                            signature = getsignaturefromtext(doc, name)
                if (argspec or signature):
                    if argspec:
                        tiptext = (name + argspec)
                    else:
                        tiptext = signature
                    self.show_calltip(_('Arguments'), tiptext, signature=True, color='#2D62FF')
