mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 21:15:17 +08:00
Use positional-only arguments for IO (#6851)
This commit is contained in:
1 parent
267bb2485a
commit
f4ce1ebaf8
4 files changed
+25
-10
No files matched your search
+1
-1
@@ -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