From 0ec75fec9e92f3b10a70cdb99d1cdb9fd78de7b6 Mon Sep 17 00:00:00 2001 From: Sergey Shepelev Date: Mon, 2 Mar 2026 12:42:07 +0300 Subject: [PATCH] typo --- src/prompt_toolkit/application/application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prompt_toolkit/application/application.py b/src/prompt_toolkit/application/application.py index f27ada1a0..bdb6e9309 100644 --- a/src/prompt_toolkit/application/application.py +++ b/src/prompt_toolkit/application/application.py @@ -923,7 +923,7 @@ def run( thread, and that loop will also be closed when the background thread terminates. When this is used, it's especially important to make sure that all asyncio background tasks are managed through - `get_appp().create_background_task()`, so that unfinished tasks are + `get_app().create_background_task()`, so that unfinished tasks are properly cancelled before the event loop is closed. This is used for instance in ptpython. :param handle_sigint: Handle SIGINT signal. Call the key binding for