Skip to content

Commit 821fcf3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent 4a4cac1 commit 821fcf3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

stdlib/_io.pyi

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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
218219
class 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

225231
class _TextIOBase(_IOBase):

0 commit comments

Comments
 (0)