bdb: various fixes (#4127)

This commit is contained in:
Shantanu
2020-05-27 21:42:45 -07:00
committed by GitHub
parent e8d0cadf7b
commit eca19f00fb
3 changed files with 2 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ class Bdb:
returnframe: Optional[FrameType]
stoplineno: int
def __init__(self, skip: Iterable[str] = ...) -> None: ...
def __init__(self, skip: Optional[Iterable[str]] = ...) -> None: ...
def canonic(self, filename: str) -> str: ...
def reset(self) -> None: ...
def trace_dispatch(self, frame: FrameType, event: str, arg: Any) -> _TraceDispatch: ...
@@ -64,7 +64,7 @@ class Bdb:
) -> None: ...
def runeval(self, expr: str, globals: Optional[Dict[str, Any]] = ..., locals: Optional[Mapping[str, Any]] = ...) -> None: ...
def runctx(self, cmd: Union[str, CodeType], globals: Optional[Dict[str, Any]], locals: Optional[Mapping[str, Any]]) -> None: ...
def runcall(self, func: Callable[..., _T], *args: Any, **kwds: Any) -> Optional[_T]: ...
def runcall(self, __func: Callable[..., _T], *args: Any, **kwds: Any) -> Optional[_T]: ...
class Breakpoint: