MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / __Pyx_IterFinish

Function __Pyx_IterFinish

_pydevd_frame_eval/pydevd_frame_evaluator.c:21094–21106  ·  view source on GitHub ↗

IterFinish */

Source from the content-addressed store, hash-verified

21092
21093/* IterFinish */
21094static CYTHON_INLINE int __Pyx_IterFinish(void) {
21095 PyObject* exc_type;
21096 __Pyx_PyThreadState_declare
21097 __Pyx_PyThreadState_assign
21098 exc_type = __Pyx_PyErr_CurrentExceptionType();
21099 if (unlikely(exc_type)) {
21100 if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration)))
21101 return -1;
21102 __Pyx_PyErr_Clear();
21103 return 0;
21104 }
21105 return 0;
21106}
21107
21108/* UnpackItemEndCheck */
21109static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) {

Calls 1

Tested by

no test coverage detected