We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c390c70 commit b6740d0Copy full SHA for b6740d0
stdlib/lzma.pyi
@@ -1,4 +1,4 @@
1
-import io
+from _compression import BaseStream
2
from _typeshed import ReadableBuffer, StrOrBytesPath
3
from collections.abc import Mapping, Sequence
4
from typing import IO, Any, TextIO, overload
@@ -104,7 +104,7 @@ class LZMACompressor:
104
105
class LZMAError(Exception): ...
106
107
-class LZMAFile(io.BufferedIOBase, IO[bytes]): # type: ignore[misc] # incompatible definitions of writelines in the base classes
+class LZMAFile(BaseStream, IO[bytes]): # type: ignore[misc] # incompatible definitions of writelines in the base classes
108
def __init__(
109
self,
110
filename: _PathOrFile | None = None,
0 commit comments