Issue #13783: the PEP 380 implementation no longer expands the public C API

This commit is contained in:
Nick Coghlan 2012-06-17 15:15:49 +10:00
parent 8d5c0b8c19
commit c40bc09942
6 changed files with 12 additions and 14 deletions

View file

@ -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