We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03c655b commit 637e7f8Copy full SHA for 637e7f8
Lib/asyncio/tools.py
@@ -239,10 +239,7 @@ class TaskTableOutputFormat(StrEnum):
239
csv = auto()
240
241
242
-def display_awaited_by_tasks_table(
243
- pid: int,
244
- format: TaskTableOutputFormat | str = TaskTableOutputFormat.table
245
- ) -> None:
+def display_awaited_by_tasks_table(pid, *, format=TaskTableOutputFormat.table):
246
"""Build and print a table of all pending tasks under `pid`."""
247
248
tasks = _get_awaited_by_tasks(pid)
0 commit comments