mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Issue #13783: the PEP 380 implementation no longer expands the public C API
This commit is contained in:
parent
8d5c0b8c19
commit
c40bc09942
6 changed files with 12 additions and 14 deletions
|
@ -400,9 +400,6 @@ PyAPI_FUNC(int) PyUnicodeTranslateError_SetReason(
|
|||
const char *reason /* UTF-8 encoded string */
|
||||
);
|
||||
|
||||
/* create a StopIteration exception with the given value */
|
||||
PyAPI_FUNC(PyObject *) PyStopIteration_Create(PyObject *);
|
||||
|
||||
/* These APIs aren't really part of the error implementation, but
|
||||
often needed to format error messages; the native C lib APIs are
|
||||
not available on all platforms, which is why we provide emulations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue