Skip to content

Commit 637e7f8

Browse files
authored
Update Lib/asyncio/tools.py
1 parent 03c655b commit 637e7f8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Lib/asyncio/tools.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,7 @@ class TaskTableOutputFormat(StrEnum):
239239
csv = auto()
240240

241241

242-
def display_awaited_by_tasks_table(
243-
pid: int,
244-
format: TaskTableOutputFormat | str = TaskTableOutputFormat.table
245-
) -> None:
242+
def display_awaited_by_tasks_table(pid, *, format=TaskTableOutputFormat.table):
246243
"""Build and print a table of all pending tasks under `pid`."""
247244

248245
tasks = _get_awaited_by_tasks(pid)

0 commit comments

Comments
 (0)