Searched refs:clearto (Results 1 – 1 of 1) sorted by relevance
196 Pdata_clear(Pdata *self, Py_ssize_t clearto) in Pdata_clear() argument201 if (clearto < 0) return stackUnderflow(); in Pdata_clear()202 if (clearto >= self->length) return 0; in Pdata_clear()204 for (i = self->length, p = self->data + clearto; in Pdata_clear()205 --i >= clearto; in Pdata_clear()209 self->length = clearto; in Pdata_clear()