Explaining/Fixing asyncio allowlist exceptions (#5132)

This commit is contained in:
hatal175
2021-03-24 02:14:30 +02:00
committed by GitHub
parent 3774fa9e8e
commit 88a8d0ccbc
12 changed files with 70 additions and 44 deletions

View File

@@ -242,7 +242,7 @@ class AbstractEventLoop(metaclass=ABCMeta):
if sys.version_info >= (3, 7):
@abstractmethod
async def sock_sendfile(
self, sock: socket, file: IO[bytes], offset: int = ..., count: Optional[int] = ..., *, fallback: bool = ...
self, sock: socket, file: IO[bytes], offset: int = ..., count: Optional[int] = ..., *, fallback: Optional[bool] = ...
) -> int: ...
@overload
@abstractmethod