From 346210da89ccf231de67c11c12ea12f3d3d36286 Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Wed, 17 Sep 2025 18:33:12 -0300 Subject: [PATCH] Remove unmatched closing parenthesis --- 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 84fee05cb4ce20..22b0a6aff6e02e 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.