From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 7 Oct 2025 18:24:17 +0000 (+0200) Subject: [3.14] Remove unmatched closing parenthesis (GH-139082) (#139099) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f899c849d4957445adbb0b44d24deeb898a2f49d;p=thirdparty%2FPython%2Fcpython.git [3.14] Remove unmatched closing parenthesis (GH-139082) (#139099) Remove unmatched closing parenthesis (GH-139082) (cherry picked from commit d22b25081bc406808cc5967951b42abedb634de3) Co-authored-by: Rafael Fontenelle --- diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index e8bdd8c6dee0..aeb86e06d993 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.