| 287 | } |
| 288 | |
| 289 | static PyObject * |
| 290 | record_item(ApgRecordObject *op, Py_ssize_t i) |
| 291 | { |
| 292 | ApgRecordObject *a = (ApgRecordObject *)op; |
| 293 | if (i < 0 || i >= Py_SIZE(a)) { |
| 294 | PyErr_SetString(PyExc_IndexError, "record index out of range"); |
| 295 | return NULL; |
| 296 | } |
| 297 | return Py_NewRef(a->ob_item[i]); |
| 298 | } |
| 299 | |
| 300 | static PyObject * |
| 301 | record_richcompare(PyObject *v, PyObject *w, int op) |
no outgoing calls
no test coverage detected