gh-127787: allow retrieving the clipped slice length in _PyUnicodeError_GetParams (GH-128980)

This commit is contained in:
Bénédikt Tran 2025-01-21 11:45:53 +01:00 committed by GitHub
parent bf150f61ad
commit 36f341ca3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 110 additions and 15 deletions

View file

@ -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