Add get_context methods to asyncio in 3.12 (#10534)

This commit is contained in:
Nikita Sobolev
2023-08-06 14:02:48 +03:00
committed by GitHub
parent 5e2fe131fa
commit 86218a52b7
3 changed files with 4 additions and 4 deletions

View File

@@ -76,6 +76,8 @@ class Handle:
def cancel(self) -> None: ...
def _run(self) -> None: ...
def cancelled(self) -> bool: ...
if sys.version_info >= (3, 12):
def get_context(self) -> Context: ...
class TimerHandle(Handle):
def __init__(