mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 20:54:32 +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
@@ -88,7 +88,7 @@ def open(
|
||||
newline: str | None = ...,
|
||||
) -> BZ2File | TextIO: ...
|
||||
|
||||
class BZ2File(BaseStream, IO[bytes]): # type: ignore # argument disparities between base classes
|
||||
class BZ2File(BaseStream, IO[bytes]):
|
||||
def __enter__(self: Self) -> Self: ...
|
||||
if sys.version_info >= (3, 9):
|
||||
@overload
|
||||
|
||||
Reference in new issue
Block a user