diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/genobject.h | 2 | ||||
-rw-r--r-- | Include/pyerrors.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/Include/genobject.h b/Include/genobject.h index 25f6c33..ed451ba 100644 --- a/Include/genobject.h +++ b/Include/genobject.h @@ -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 diff --git a/Include/pyerrors.h b/Include/pyerrors.h index cfae922..2c145ad 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -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 |