mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +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
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue