mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +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: ...
|
||||
|
||||
Reference in New Issue
Block a user