MCPcopy Create free account
hub / github.com/numpy/numpy / npyiter_debug_print

Function npyiter_debug_print

numpy/core/src/multiarray/nditer_pywrap.c:1375–1386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1373}
1374
1375static PyObject *
1376npyiter_debug_print(NewNpyArrayIterObject *self, PyObject *NPY_UNUSED(args))
1377{
1378 if (self->iter != NULL) {
1379 NpyIter_DebugPrint(self->iter);
1380 }
1381 else {
1382 printf("Iterator: (nil)\n");
1383 }
1384
1385 Py_RETURN_NONE;
1386}
1387
1388NPY_NO_EXPORT PyObject *
1389npyiter_seq_item(NewNpyArrayIterObject *self, Py_ssize_t i);

Callers

nothing calls this directly

Calls 1

NpyIter_DebugPrintFunction · 0.85

Tested by

no test coverage detected