From d9ad5877076fe15b91f4e6abce95cb4f7758dd23 Mon Sep 17 00:00:00 2001 From: Jah-yee <166608075+Jah-yee@users.noreply.github.com> Date: Mon, 2 Nov 2026 02:49:40 +0800 Subject: [PATCH] fix: correct 'does't' to "doesn't" in public API docstrings The docstrings for listen() and connect() both said "does't wait for a client to connect". Fixed the spelling in both places; no code change. Signed-off-by: Jah-yee <166608075+Jah-yee@users.noreply.github.com> --- src/debugpy/public_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/debugpy/public_api.py b/src/debugpy/public_api.py index 029c45a69..0d1c9ffee 100644 --- a/src/debugpy/public_api.py +++ b/src/debugpy/public_api.py @@ -129,7 +129,7 @@ def listen( different from address if port was 0 in the latter, in which case the adapter will pick some unused ephemeral port to listen on. - This function does't wait for a client to connect to the debug + This function doesn't wait for a client to connect to the debug adapter that it starts. Use `wait_for_client` to block execution until the client connects. """ @@ -151,7 +151,7 @@ def connect(__endpoint: Endpoint | int, *, access_token: str | None = None, pare with. This is useful if running in a process that is not an immediate child of the parent process being debugged. - This function does't wait for a client to connect to the debug + This function doesn't wait for a client to connect to the debug adapter that it connects to. Use `wait_for_client` to block execution until the client connects. """