def show_call_info(self, call_line=None, doc=None, maxlines=20):
        if doc:
            match = re.match("(?:[^\n]*\n){%i}" % maxlines, doc)
            if match:
                doc = doc[:match.end()] + '\n[Documentation continues...]'
        else:
            doc = ''
            
        if call_line:
            doc = '\n\n'.join([call_line, doc])
        return self.show_tip(doc)
Validates the given 1-based page number.
dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/console/call_tip_widget.py/CallTipWidget.show_call_info--crossover with--dataset/ETHPy150Open amarandon/smeuhsocial/apps/pagination/paginator.py/InfinitePaginator.validate_number