diff --git a/stdlib/2and3/bdb.pyi b/stdlib/2and3/bdb.pyi index df9d08c21..1f7f7f335 100644 --- a/stdlib/2and3/bdb.pyi +++ b/stdlib/2and3/bdb.pyi @@ -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: diff --git a/tests/stubtest_whitelists/py39.txt b/tests/stubtest_whitelists/py39.txt index 89013a4e1..b7c733e85 100644 --- a/tests/stubtest_whitelists/py39.txt +++ b/tests/stubtest_whitelists/py39.txt @@ -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 diff --git a/tests/stubtest_whitelists/py3_common.txt b/tests/stubtest_whitelists/py3_common.txt index cb859e668..212d143c2 100644 --- a/tests/stubtest_whitelists/py3_common.txt +++ b/tests/stubtest_whitelists/py3_common.txt @@ -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