 do_condition(self, arg: str) -> Optional[bool]: ...
    def do_ignore(self, arg: str) -> Optional[bool]: ...
    def do_clear(self, arg: str) -> Optional[bool]: ...
    def do_where(self, arg: str) -> Optional[bool]: ...
    def do_up(self, arg: str) -> Optional[bool]: ...
    def do_down(self, arg: str) -> Optional[bool]: ...
    def do_until(self, arg: str) -> Optional[bool]: ...
    def do_step(self, arg: str) -> Optional[bool]: ...
    def do_next(self, arg: str) -> Optional[bool]: ...
    def do_run(self, arg: str) -> Optional[bool]: ...
    def do_return(self, arg: str) -> Optional[bool]: ...
    def do_continue(self, arg: str) -> Optional[bool]: ...
    def do_jump(self, arg: str) -> Optional[bool]: ...
    def do_debug(self, arg: str) -> Optional[bool]: ...
    def do_quit(self, arg: str) -> Optional[bool]: ...
    def do_EOF(self, arg: str) -> Optional[bool]: ...
    def do_args(self, arg: str) -> Optional[bool]: ...
    def do_retval(self, arg: str) -> Optional[bool]: ...
    def do_p(self, arg: str) -> Optional[bool]: ...
    def do_pp(self, arg: str) -> Optional[bool]: ...
    def do_list(self, arg: str) -> Optional[bool]: ...
    def do_whatis(self, arg: str) -> Optional[bool]: ...
    def do_alias(self, arg: str) -> Optional[bool]: ...
    def do_unalias(self, arg: str) -> Optional[bool]: ...
    def do_help(self, arg: str) -> Optional[bool]: ...
    do_b = do_break
    do_cl = do_clear
    do_w = do_where
    do_bt = do_where
    do_u = do_up
    do_d = do_down
    do_unt = do_until
    do_s = do_step
    do_n = do_next
    do_restart = do_run
    do_r = do_return
    do_c = do_continue
    do_cont = do_continue
    do_j = do_jump
    do_q = do_quit
    do_exit = do_quit
    do_a = do_args
    do_rv = do_retval
    do_l = do_list
    do_h = do_help
    def help_exec(self) -> None: ...
    def help_pdb(self) -> None: ...
    if sys.version_info < (3, 2):
        def help_help(self) -> None: ...
        def help_h(self) -> None: ...
        def help_where(self) -> None: ...
        def help_w(self) -> None: ...
        def help_down(self) -> None: ...
        def help_d(self) -> None: ...
        def help_up(self) -> None: ...
        def help_u(self) -> None: ...
        def help_break(self) -> None: ...
        def help_b(self) -> None: ...
        def help_clear(self) -> None: ...
        def help_cl(self) -> None: ...
        def help_tbreak(self) -> None: ...
        def help_enable(self) -> None: ...
        def help_disable(self) -> None: ...
        def help_ignore(self) -> None: ...
        def help_condition(self) -> None: ...
        def help_step(self) -> None: ...
        def help_s(self) -> None: ...
        def help_until(self) -> None: ...
        def help_unt(self) -> None: ...
        def help_next(self) -> None: ...
        def help_n(self) -> None: ...
        def help_return(self) -> None: ...
        def help_r(self) -> None: ...
        def help_continue(self) -> None: ...
        def help_cont(self) -> None: ...
        def help_c(self) -> None: ...
        def help_jump(self) -> None: ...
        def help_j(self) -> None: ...
        def help_debug(self) -> None: ...
        def help_list(self) -> None: ...
        def help_l(self) -> None: ...
        def help_args(self) -> None: ...
        def help_a(self) -> None: ...
        def help_p(self) -> None: ...
        def help_pp(self) -> None: ...
        def help_run(self) -> None: ...
        def help_quit(self) -> None: ...
        def help_q(self) -> None: ...
        def help_whatis(self) -> None: ...
        def help_EOF(self) -> None: ...
        def help_alias(self) -> None: ...
        def help_unalias(self) -> None: ...
        def help_commands(self) -> None: ...
        help_bt = help_w
        help_restart = help_run
        help_exit = help_q

    if sys.version_info >= (3, 2):
        def sigint_handler(self, signum: signal.Signals, frame: FrameType) -> None: ...
        def message(self, msg: str) -> None: ...
        def error(self, msg: str) -> None: ...
        def _select_frame(self, number: int) -> None: ...
        def _getval_except(self, arg: str, frame: Optional[FrameType] = ...) -> object: ...
        def _print_lines(
            self, lines: Sequence[str], start: int, breaks: Sequence[int] = ..., frame: Optional[FrameType] = ...
        ) -> None: ...
        def _cmdloop(self) -> None: ...
        def do_display(self, arg: str) -> Optional[bool]: ...
        def do_interact(self, arg: str) -> Optional[bool]: ...
        def do_longlist(self, arg: str) -> Optional[bool]: ...
        def do_source(self, arg: str) -> Optional[bool]: ...
        def do_undisplay(self, arg: str) -> Optional[bool]: ...
        do_ll = do_longlist

    if sys.version_info >= (3, 3):
        def _complete_location(self, text: str, line: str, begidx: int, endidx: int) -> List[str]: ...
        def _complete_bpnumber(self, text: str, line: str, begidx: int, endidx: int) -> List[str]: ...
        def _complete_expression(self, text: str, line: str, begidx: int, endidx: int) -> List[str]: ...
        def complete_undisplay(self, text: str, line: str, begidx: int, endidx: int) -> List[str]: ...
        def complete_unalias(self, text: str, line: str, begidx: int, endidx: int) -> List[str]: ...
        complete_commands = _complete_bpnumber
        complete_break = _complete_location
        complete_b = _complete_location
        complete_tbreak = _complete_location
        complete_enable = _complete_bpnumber
        complete_disable = _complete_bpnumber
        complete_condition = _complete_bpnumber
        complete_ignore = _complete_bpnumber
        complete_clear = _complete_location
        complete_cl = _complete_location
        complete_debug = _complete_expression
        complete_print = _complete_expression
        complete_p = _complete_expression
        complete_pp = _complete_expression
        complete_source = _complete_expression
        complete_whatis = _complete_expression
        complete_display = _complete_expression

    if sys.version_info >= (3, 7):
        def _runmodule(self, module_name: str) -> None: ...
    if sys.version_info >= (3,) and sys.version_info < (3, 4):
        do_print = do_p

# undocumented

def find_function(funcname: str, filename: str) -> Optional[Tuple[str, str, int]]: ...
def main() -> None: ...
def help() -> None: ...

if sys.version_info >= (3, 2):
    def getsourcelines(obj: _SourceObjectType) -> Tuple[List[str], int]: ...
    def lasti2lineno(code: CodeType, lasti: int) -> int: ...

class _rstr(str):
    def __repr__(self) -> _rstr: ...
PK