[docs] [issue13783] Clean up PEP 380 C API additions
report at bugs.python.org
Sun Jan 22 05:09:32 CET 2012
Meador Inge <meadori at gmail.com> added the comment:
'PyStopIteration_Create' is just a trivial wrapper:
return PyObject_CallFunctionObjArgs(PyExc_StopIteration, value, NULL);
It is not needed.
As for 'PyGen_FetchStopIterationValue', does it really need to be public? It is trivial to make it private because all calls to it are in 'genobject.c'. However, I am not sure if there is a strong use case for having it public.
stage: -> needs patch
type: -> enhancement
Python tracker <report at bugs.python.org>
More information about the docs