https://github.com/python/cpython/commit/f899c849d4957445adbb0b44d24deeb898a2f49d
commit: f899c849d4957445adbb0b44d24deeb898a2f49d
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: AA-Turner <[email protected]>
date: 2025-10-07T19:24:17+01:00
summary:

[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 <[email protected]>

files:
M Doc/c-api/unicode.rst

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.
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to