| 941 | } |
| 942 | |
| 943 | static PyObject * |
| 944 | record_items_len(ApgRecordItemsObject *it) |
| 945 | { |
| 946 | Py_ssize_t len = 0; |
| 947 | if (it->it_seq) { |
| 948 | len = Py_SIZE(it->it_seq) - it->it_index; |
| 949 | } |
| 950 | return PyLong_FromSsize_t(len); |
| 951 | } |
| 952 | |
| 953 | PyDoc_STRVAR(record_items_len_doc, "Private method returning an estimate of len(list(it()))."); |
| 954 |
nothing calls this directly
no outgoing calls
no test coverage detected