Skip to content

Commit 178df25

Browse files
committed
Add the new timeout parameter of shutdown_default_executor to typeshed
1 parent 0648d1f commit 178df25

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

uvloop/loop.pyi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,10 @@ class Loop:
271271
sock: Optional[socket] = ...,
272272
) -> tuple[asyncio.BaseProtocol, _ProtocolT]: ...
273273
async def shutdown_asyncgens(self) -> None: ...
274-
async def shutdown_default_executor(self) -> None: ...
274+
async def shutdown_default_executor(
275+
self,
276+
timeout: Optional[float] = ...,
277+
) -> None: ...
275278
# Loop doesn't implement these, but since they are marked as abstract in typeshed,
276279
# we have to put them in so mypy thinks the base methods are overridden
277280
async def sendfile(

0 commit comments

Comments
 (0)