mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
asyncio: fix signature of set_write_buffer_limits (#4025)
Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -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: ...
|
||||
|
||||
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user