@@ -196,6 +196,7 @@ class BufferedWriter(BufferedIOBase, _BufferedIOBase, BinaryIO, Generic[_Buffere
196196 def __init__ (self , raw : _BufferedWriterStreamT , buffer_size : int = 131072 ) -> None : ...
197197 else :
198198 def __init__ (self , raw : _BufferedWriterStreamT , buffer_size : int = 8192 ) -> None : ...
199+
199200 def write (self , buffer : ReadableBuffer , / ) -> int : ...
200201 def seek (self , target : int , whence : int = 0 , / ) -> int : ...
201202 def truncate (self , pos : int | None = None , / ) -> int : ...
@@ -217,9 +218,14 @@ class BufferedRandom(BufferedIOBase, _BufferedIOBase, BinaryIO): # type: ignore
217218@disjoint_base
218219class BufferedRWPair (BufferedIOBase , _BufferedIOBase , Generic [_BufferedReaderStreamT , _BufferedWriterStreamT ]):
219220 if sys .version_info >= (3 , 14 ):
220- def __init__ (self , reader : _BufferedReaderStreamT , writer : _BufferedWriterStreamT , buffer_size : int = 131072 , / ) -> None : ...
221+ def __init__ (
222+ self , reader : _BufferedReaderStreamT , writer : _BufferedWriterStreamT , buffer_size : int = 131072 , /
223+ ) -> None : ...
221224 else :
222- def __init__ (self , reader : _BufferedReaderStreamT , writer : _BufferedWriterStreamT , buffer_size : int = 8192 , / ) -> None : ...
225+ def __init__ (
226+ self , reader : _BufferedReaderStreamT , writer : _BufferedWriterStreamT , buffer_size : int = 8192 , /
227+ ) -> None : ...
228+
223229 def peek (self , size : int = 0 , / ) -> bytes : ...
224230
225231class _TextIOBase (_IOBase ):
0 commit comments