mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-14 04:14:52 +08:00
asyncio: fix signature of set_write_buffer_limits (#4025)
Co-authored-by: hauntsaninja <>
This commit is contained in:
co-authored by
hauntsaninja <>
parent
4405250ed1
commit
462a3e9dcd
@@ -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