mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
gh-127787: Move _PyUnicodeError_GetParams() to the internal C API (#128803)
This commit is contained in:
parent
eefd4a0bc7
commit
24a8d920c1
2 changed files with 9 additions and 6 deletions
|
@ -190,6 +190,15 @@ Py_DEPRECATED(3.12) extern void _PyErr_ChainExceptions(PyObject *, PyObject *, P
|
|||
PyAPI_DATA(PyTypeObject) _PyExc_IncompleteInputError;
|
||||
#define PyExc_IncompleteInputError ((PyObject *)(&_PyExc_IncompleteInputError))
|
||||
|
||||
extern int _PyUnicodeError_GetParams(
|
||||
PyObject *self,
|
||||
PyObject **obj,
|
||||
Py_ssize_t *objlen,
|
||||
Py_ssize_t *start,
|
||||
Py_ssize_t *end,
|
||||
int as_bytes);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue