mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +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
|
@ -34,7 +34,7 @@ PyAPI_DATA(PyTypeObject) PyGen_Type;
|
|||
|
||||
PyAPI_FUNC(PyObject *) PyGen_New(struct _frame *);
|
||||
PyAPI_FUNC(int) PyGen_NeedsFinalizing(PyGenObject *);
|
||||
PyAPI_FUNC(int) PyGen_FetchStopIterationValue(PyObject **);
|
||||
PyAPI_FUNC(int) _PyGen_FetchStopIterationValue(PyObject **);
|
||||
PyObject *_PyGen_Send(PyGenObject *, PyObject *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -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