Add missing stubs to pdb and fix related issues in cmd and bdb (#3600)

This commit is contained in:
Jan Verbeek
2020-01-18 16:39:35 +01:00
committed by Jelle Zijlstra
parent b6b9df3836
commit 475d1f75fe
3 changed files with 218 additions and 26 deletions

View File

@@ -36,6 +36,6 @@ class Cmd:
def get_names(self) -> List[str]: ...
# Only the first element of args matters.
def complete_help(self, *args: Any) -> List[str]: ...
def do_help(self, arg: Optional[str]) -> None: ...
def do_help(self, arg: str) -> Optional[bool]: ...
def print_topics(self, header: str, cmds: Optional[List[str]], cmdlen: Any, maxcol: int) -> None: ...
def columnize(self, list: Optional[List[str]], displaywidth: int = ...) -> None: ...