From 6e58dbc05947bb3e916de8978f04e3cd18c43e17 Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Thu, 18 Sep 2025 06:01:09 -0300 Subject: [PATCH] Remove unmatched closing parenthesis (GH-139082) (cherry picked from commit d22b25081bc406808cc5967951b42abedb634de3) Co-authored-by: Rafael Fontenelle --- Doc/c-api/unicode.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index e8bdd8c6dee0a0..aeb86e06d99351 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -731,7 +731,7 @@ APIs: Return ``0`` on success, ``-1`` on error with an exception set. This function checks that *unicode* is a Unicode object, that the index is - not out of bounds, and that the object's reference count is one). + not out of bounds, and that the object's reference count is one. See :c:func:`PyUnicode_WRITE` for a version that skips these checks, making them your responsibility.