summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-06-17 05:15:49 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2012-06-17 05:15:49 (GMT)
commitc40bc09942f9532ed957dc8cd4da269ec089e830 (patch)
treef2596be6a738f230f6be4776f7f42d6925a3d747 /Include
parent8d5c0b8c198374d0b88f30f04dd29d1f19c1c913 (diff)
downloadcpython-c40bc09942f9532ed957dc8cd4da269ec089e830.zip
cpython-c40bc09942f9532ed957dc8cd4da269ec089e830.tar.gz
cpython-c40bc09942f9532ed957dc8cd4da269ec089e830.tar.bz2
Issue #13783: the PEP 380 implementation no longer expands the public C API
Diffstat (limited to 'Include')
-rw-r--r--Include/genobject.h2
-rw-r--r--Include/pyerrors.h3
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