[aiofiles] Fix the file argument type in AsyncBase (#13717)

This commit is contained in:
Sébastien Quioc
2025-03-25 13:02:33 +01:00
committed by GitHub
parent 22de7771c4
commit 3d87311595
+1 -1
View File
@@ -8,7 +8,7 @@ _T = TypeVar("_T")
_V_co = TypeVar("_V_co", covariant=True)
class AsyncBase(Generic[_T]):
def __init__(self, file: str, loop: Any, executor: Any) -> None: ...
def __init__(self, file: TextIO | BinaryIO | None, loop: Any, executor: Any) -> None: ...
def __aiter__(self) -> Self: ...
async def __anext__(self) -> _T: ...