Lines Matching full:bytearray
1 /* PyBytes (bytearray) implementation */
412 PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
431 PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
468 PyErr_SetString(PyExc_TypeError, "bytearray indices must be integers");
501 "can't set bytearray slice from %.100s",
572 PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
602 PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
629 bytearray indices must be integer");
768 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|Oss:bytearray", kwlist,
924 const char *quote_prefix = "bytearray(b";
932 "bytearray object is too large to make repr");
1010 "str() on a bytearray instance", 1))
1039 "Comparison between bytearray and string", 1))
1104 "deallocated bytearray object has exported buffers");
1434 "B.translate(table[, deletechars]) -> bytearray\n\
2062 "B.split([sep[, maxsplit]]) -> list of bytearray\n\
2103 found, returns B and two empty bytearray objects.");
2131 bytearray objects and B.");
2154 "B.rsplit(sep[, maxsplit]) -> list of bytearray\n\
2216 Insert a single item into the bytearray before the given index.");
2229 "cannot add more objects to bytearray");
2264 "cannot add more objects to bytearray");
2379 "pop from empty bytearray");
2415 PyErr_SetString(PyExc_ValueError, "value not found in bytearray");
2451 "B.strip([bytes]) -> bytearray\n\
2487 "B.lstrip([bytes]) -> bytearray\n\
2520 "B.rstrip([bytes]) -> bytearray\n\
2596 Concatenates any number of bytearray objects, with B in between each pair.");
2690 "bytearray.fromhex(string) -> bytearray\n\
2692 Create a bytearray object from a string of hexadecimal numbers.\n\
2694 Example: bytearray.fromhex('B9 01EF') -> bytearray(b'\\xb9\\x01\\xef').");
2888 "bytearray(iterable_of_ints) -> bytearray.\n\
2889 bytearray(string, encoding[, errors]) -> bytearray.\n\
2890 bytearray(bytes_or_bytearray) -> mutable copy of bytes_or_bytearray.\n\
2891 bytearray(memory_view) -> bytearray.\n\
2893 Construct a mutable bytearray object from:\n\
2896 - a bytes or a bytearray object\n\
2899 bytearray(int) -> bytearray.\n\
2901 Construct a zero-initialized bytearray of the given length.");
2908 "bytearray",