From 36f341ca3ecd5f0d54073c6dbfa82b95d843cab8 Mon Sep 17 00:00:00 2001 From: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Date: Tue, 21 Jan 2025 11:45:53 +0100 Subject: gh-127787: allow retrieving the clipped slice length in `_PyUnicodeError_GetParams` (GH-128980) --- Include/internal/pycore_pyerrors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/internal/pycore_pyerrors.h') 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 -- cgit v1.2.3