aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Include/internal/pycore_pyerrors.h
diff options
context:
space:
mode:
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>2025-01-21 11:45:53 +0100
committerGitHub <noreply@github.com>2025-01-21 11:45:53 +0100
commit36f341ca3ecd5f0d54073c6dbfa82b95d843cab8 (patch)
tree677016888727892195871a32a228dc229b2e6985 /Include/internal/pycore_pyerrors.h
parentbf150f61ad85dd609f412f1c87dec6245f484f0d (diff)
downloadcpython-36f341ca3ecd5f0d54073c6dbfa82b95d843cab8.tar.gz
cpython-36f341ca3ecd5f0d54073c6dbfa82b95d843cab8.zip
gh-127787: allow retrieving the clipped slice length in `_PyUnicodeError_GetParams` (GH-128980)
Diffstat (limited to 'Include/internal/pycore_pyerrors.h')
-rw-r--r--Include/internal/pycore_pyerrors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_pyerrors.h b/Include/internal/pycore_pyerrors.h
index 8dea2d34117..fa7d9ee36d0 100644
--- a/Include/internal/pycore_pyerrors.h
+++ b/Include/internal/pycore_pyerrors.h
@@ -196,9 +196,9 @@ extern int _PyUnicodeError_GetParams(
Py_ssize_t *objlen,
Py_ssize_t *start,
Py_ssize_t *end,
+ Py_ssize_t *slen,
int as_bytes);
-
#ifdef __cplusplus
}
#endif