Add asyncio.tools.exit_with_permission_help_text() (#14747)

Part of #14741
This commit is contained in:
Sebastian Rittau
2025-09-19 16:30:58 +02:00
committed by GitHub
parent 970603e7e2
commit a54c270b02
+5
View File
@@ -1,3 +1,4 @@
import sys
from collections.abc import Iterable
from enum import Enum
from typing import NamedTuple, SupportsIndex, type_check_only
@@ -37,5 +38,9 @@ class CycleFoundException(Exception):
def get_all_awaited_by(pid: SupportsIndex) -> list[_AwaitedInfo]: ...
def build_async_tree(result: Iterable[_AwaitedInfo], task_emoji: str = "(T)", cor_emoji: str = "") -> list[list[str]]: ...
def build_task_table(result: Iterable[_AwaitedInfo]) -> list[list[int | str]]: ...
if sys.version_info >= (3, 14):
def exit_with_permission_help_text() -> None: ...
def display_awaited_by_tasks_table(pid: SupportsIndex) -> None: ...
def display_awaited_by_tasks_tree(pid: SupportsIndex) -> None: ...