diff options
author | Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | 2025-01-21 11:45:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-21 11:45:53 +0100 |
commit | 36f341ca3ecd5f0d54073c6dbfa82b95d843cab8 (patch) | |
tree | 677016888727892195871a32a228dc229b2e6985 /Include/internal/pycore_pyerrors.h | |
parent | bf150f61ad85dd609f412f1c87dec6245f484f0d (diff) | |
download | cpython-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.h | 2 |
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 |