Use positional-only arguments for IO (#6851)

This commit is contained in:
Sebastian Rittau authored and GitHub committed 2022-01-08 20:49:29 +02:00
1 parent 267bb2485a
commit f4ce1ebaf8
4 files changed
+25 -10

No files matched your search

+1 -1
View File
@@ -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 = ...,