]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Remove unmatched closing parenthesis (GH-139082) (#139099)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 7 Oct 2025 18:24:17 +0000 (20:24 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Oct 2025 18:24:17 +0000 (19:24 +0100)
Remove unmatched closing parenthesis (GH-139082)
(cherry picked from commit d22b25081bc406808cc5967951b42abedb634de3)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Doc/c-api/unicode.rst

index e8bdd8c6dee0a040dd12b15ac0d52c9b11f35967..aeb86e06d99351a78294bb88ffcb00db8467b2e1 100644 (file)
@@ -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.