Lines Matching defs:item
550 "insert($self, index, item, /)\n"
553 "Insert a single item into the bytearray before the given index.\n"
557 " item\n"
558 " The item to be inserted.");
564 bytearray_insert_impl(PyByteArrayObject *self, Py_ssize_t index, int item);
571 int item;
588 if (!_getbytevalue(args[1], &item)) {
591 return_value = bytearray_insert_impl(self, index, item);
598 "append($self, item, /)\n"
601 "Append a single item to the end of the bytearray.\n"
603 " item\n"
604 " The item to be appended.");
610 bytearray_append_impl(PyByteArrayObject *self, int item);
616 int item;
618 if (!_getbytevalue(arg, &item)) {
621 return_value = bytearray_append_impl(self, item);
643 "Remove and return a single item from B.\n"
646 " The index from where to remove the item.\n"
647 " -1 (the default value) means remove the last item.\n"
649 "If no index argument is given, will pop the last item.");