diff --git a/stdlib/3/asyncio/transports.pyi b/stdlib/3/asyncio/transports.pyi index 10a2dd9b9..863da761f 100644 --- a/stdlib/3/asyncio/transports.pyi +++ b/stdlib/3/asyncio/transports.pyi @@ -21,7 +21,7 @@ class ReadTransport(BaseTransport): class WriteTransport(BaseTransport): def set_write_buffer_limits( - self, high: int = ..., low: int = ... + self, high: Optional[int] = ..., low: Optional[int] = ... ) -> None: ... def get_write_buffer_size(self) -> int: ... def write(self, data: Any) -> None: ... diff --git a/tests/stubtest_whitelists/py3_common.txt b/tests/stubtest_whitelists/py3_common.txt index 558520f1b..52652d6f0 100644 --- a/tests/stubtest_whitelists/py3_common.txt +++ b/tests/stubtest_whitelists/py3_common.txt @@ -18,7 +18,6 @@ asyncio.Condition.locked asyncio.Condition.release asyncio.Task.get_stack asyncio.Task.print_stack -asyncio.WriteTransport.set_write_buffer_limits asyncio.base_events.BaseEventLoop.subprocess_exec asyncio.locks.Condition.acquire asyncio.locks.Condition.locked @@ -27,8 +26,6 @@ asyncio.proactor_events.BaseProactorEventLoop.sock_recv asyncio.selector_events.BaseSelectorEventLoop.sock_recv asyncio.tasks.Task.get_stack asyncio.tasks.Task.print_stack -asyncio.transports.WriteTransport.set_write_buffer_limits -asyncio.transports._FlowControlMixin.set_write_buffer_limits asyncio.windows_events asyncio.windows_utils bdb.Bdb.__init__