Lines Matching defs:index
550 "insert($self, index, item, /)\n"
553 "Insert a single item into the bytearray before the given index.\n"
555 " index\n"
556 " The index where the value is to be inserted.\n"
564 bytearray_insert_impl(PyByteArrayObject *self, Py_ssize_t index, int item);
570 Py_ssize_t index;
586 index = ival;
591 return_value = bytearray_insert_impl(self, index, item);
640 "pop($self, index=-1, /)\n"
645 " index\n"
646 " The index from where to remove the item.\n"
649 "If no index argument is given, will pop the last item.");
655 bytearray_pop_impl(PyByteArrayObject *self, Py_ssize_t index);
661 Py_ssize_t index = -1;
679 index = ival;
682 return_value = bytearray_pop_impl(self, index);