mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 20:01:29 +08:00
Use positional-only arguments for IO (#6851)
This commit is contained in:
@@ -64,7 +64,7 @@ class LZMACompressor:
|
||||
|
||||
class LZMAError(Exception): ...
|
||||
|
||||
class LZMAFile(io.BufferedIOBase, IO[bytes]): # type: ignore # argument disparities between base classes
|
||||
class LZMAFile(io.BufferedIOBase, IO[bytes]):
|
||||
def __init__(
|
||||
self,
|
||||
filename: _PathOrFile | None = ...,
|
||||
|
||||
Reference in New Issue
Block a user