summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C_API
diff options
context:
space:
mode:
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>2024-12-08 13:47:22 (GMT)
committerGitHub <noreply@github.com>2024-12-08 13:47:22 (GMT)
commit8fa5ecec01337215bc7baa62c9c16488ecd854fb (patch)
treec0ba623d007fec80d26e71976e0f75b6bb724636 /Misc/NEWS.d/next/C_API
parent1503fc8f88d4903e61f76a78a30bcd581b0ee0cd (diff)
downloadcpython-8fa5ecec01337215bc7baa62c9c16488ecd854fb.zip
cpython-8fa5ecec01337215bc7baa62c9c16488ecd854fb.tar.gz
cpython-8fa5ecec01337215bc7baa62c9c16488ecd854fb.tar.bz2
gh-123378: fix post-merge typos in comments and NEWS (#127739)
Diffstat (limited to 'Misc/NEWS.d/next/C_API')
-rw-r--r--Misc/NEWS.d/next/C_API/2024-08-27-09-07-56.gh-issue-123378.JJ6n_u.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/C_API/2024-08-27-09-07-56.gh-issue-123378.JJ6n_u.rst b/Misc/NEWS.d/next/C_API/2024-08-27-09-07-56.gh-issue-123378.JJ6n_u.rst
index 2cfb8b8..7254a04 100644
--- a/Misc/NEWS.d/next/C_API/2024-08-27-09-07-56.gh-issue-123378.JJ6n_u.rst
+++ b/Misc/NEWS.d/next/C_API/2024-08-27-09-07-56.gh-issue-123378.JJ6n_u.rst
@@ -1,5 +1,5 @@
Ensure that the value of :attr:`UnicodeEncodeError.start <UnicodeError.start>`
-retrieved by :c:func:`PyUnicodeEncodeError_GetStart` lie in
+retrieved by :c:func:`PyUnicodeEncodeError_GetStart` lies in
``[0, max(0, objlen - 1)]`` where *objlen* is the length of
:attr:`UnicodeEncodeError.object <UnicodeError.object>`. Similar
arguments apply to :exc:`UnicodeDecodeError` and :exc:`UnicodeTranslateError`