From d22b25081bc406808cc5967951b42abedb634de3 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) --- 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 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. -- 2.47.3