]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove unmatched closing parenthesis (GH-139082)
authorRafael Fontenelle <rffontenelle@users.noreply.github.com>
Thu, 18 Sep 2025 09:01:09 +0000 (06:01 -0300)
committerGitHub <noreply@github.com>
Thu, 18 Sep 2025 09:01:09 +0000 (10:01 +0100)
Doc/c-api/unicode.rst

index 84fee05cb4ce203b6c273bd840d4d9f5350ae286..22b0a6aff6e02e8482ac936de68da651d1a88713 100644 (file)
@@ -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.