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

@ -516,12 +516,6 @@ StopIteration_traverse(PyStopIterationObject *self, visitproc visit, void *arg)
return BaseException_traverse((PyBaseExceptionObject *)self, visit, arg);
}
PyObject *
PyStopIteration_Create(PyObject *value)
{
return PyObject_CallFunctionObjArgs(PyExc_StopIteration, value, NULL);
}
ComplexExtendsException(
PyExc_Exception, /* base */
StopIteration, /* name */