| 817 | } |
| 818 | |
| 819 | static PyObject * |
| 820 | record_iter_len(ApgRecordIterObject *it) |
| 821 | { |
| 822 | Py_ssize_t len = 0; |
| 823 | if (it->it_seq) { |
| 824 | len = Py_SIZE(it->it_seq) - it->it_index; |
| 825 | } |
| 826 | return PyLong_FromSsize_t(len); |
| 827 | } |
| 828 | |
| 829 | PyDoc_STRVAR(record_iter_len_doc, "Private method returning an estimate of len(list(it))."); |
| 830 |
nothing calls this directly
no outgoing calls
no test coverage detected