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:

View File

@@ -28,7 +28,6 @@ asyncio.futures.Future._callbacks
asyncio.futures.Future.cancel
asyncio.proactor_events._ProactorBasePipeTransport.__del__
asyncio.tasks.Task.cancel
bdb.Bdb.runcall
builtins.bytearray.extend
builtins.bytearray.pop
builtins.compile

View File

@@ -30,7 +30,6 @@ asyncio.selector_events.BaseSelectorEventLoop.sock_recv
asyncio.streams.FlowControlMixin.__init__
asyncio.tasks.Task.get_stack
asyncio.tasks.Task.print_stack
bdb.Bdb.__init__
builtins.bytearray.__float__
builtins.bytearray.__int__
builtins.bytearray.append