From: Rafael Fontenelle Date: Thu, 18 Sep 2025 09:01:09 +0000 (-0300) Subject: Remove unmatched closing parenthesis (GH-139082) X-Git-Tag: v3.15.0a1~290 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d22b25081bc406808cc5967951b42abedb634de3;p=thirdparty%2FPython%2Fcpython.git Remove unmatched closing parenthesis (GH-139082) --- diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index 84fee05cb4ce..22b0a6aff6e0 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -747,7 +747,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.