Lines Matching defs:string
771 "encoding without a string argument" :
772 "errors without a string argument");
783 "string argument without an encoding");
802 "encoding without a string argument" :
803 "errors without a string argument");
1040 "Comparison between bytearray and string", 1))
1208 Return a bytearray with the given prefix string removed if present.
1210 If the bytearray starts with the prefix string, return
1240 Return a bytearray with the given suffix string removed if present.
1242 If the bytearray ends with the suffix string and that suffix is not
2039 string: unicode
2042 Create a bytearray object from a string of hexadecimal numbers.
2049 bytearray_fromhex_impl(PyTypeObject *type, PyObject *string)
2052 PyObject *result = _PyBytes_FromHex(string, type == &PyByteArray_Type);
2068 Create a string of hexadecimal numbers from a bytearray object.
2276 bytearray(string, encoding[, errors]) -> bytearray\n\
2283 - a text string encoded using the specified encoding\n\