| 23 | namespace benchmark { |
| 24 | |
| 25 | void Benchmark_PandasObjectIsNull(PyObject* list) { |
| 26 | if (!PyList_CheckExact(list)) { |
| 27 | PyErr_SetString(PyExc_TypeError, "expected a list"); |
| 28 | return; |
| 29 | } |
| 30 | Py_ssize_t i, n = PyList_GET_SIZE(list); |
| 31 | for (i = 0; i < n; i++) { |
| 32 | internal::PandasObjectIsNull(PyList_GET_ITEM(list, i)); |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | } // namespace benchmark |
| 37 | } // namespace py |
nothing calls this directly
no test coverage detected