add bz2.BZ2File.peek (#13144)

This commit is contained in:
Stephen Morton authored and GitHub committed 2024-11-27 19:56:57 -08:00
1 parent b286a59514
commit 775f8671b3
2 files changed
+1 -1

No files matched your search

@@ -68,7 +68,6 @@ xml.sax.expatreader
_thread.RLock
_threading_local._localimpl.localargs
_threading_local._localimpl.locallock
bz2.BZ2File.peek
codecs.StreamReader.charbuffertype
codecs.StreamReader.seek
codecs.StreamWriter.seek
+1
View File
@@ -126,6 +126,7 @@ class BZ2File(BaseStream, IO[bytes]):
def readline(self, size: SupportsIndex = -1) -> bytes: ... # type: ignore[override]
def readinto(self, b: WriteableBuffer) -> int: ...
def readlines(self, size: SupportsIndex = -1) -> list[bytes]: ...
def peek(self, n: int = 0) -> bytes: ...
def seek(self, offset: int, whence: int = 0) -> int: ...
def write(self, data: ReadableBuffer) -> int: ...
def writelines(self, seq: Iterable[ReadableBuffer]) -> None: ...