Lines Matching defs:replace
1580 "replace string is too long");
1586 "replace string is too long");
1834 PyErr_SetString(PyExc_OverflowError, "replace bytes is too long");
1839 PyErr_SetString(PyExc_OverflowError, "replace bytes is too long");
1856 /* replace with the 'to' */
1904 PyErr_SetString(PyExc_OverflowError, "replace bytes is too long");
1909 PyErr_SetString(PyExc_OverflowError, "replace bytes is too long");
1928 /* replace with the 'to' */
1949 replace(PyByteArrayObject *self,
1971 /* >>> "Python".replace("", ".") */
1976 /* Except for "".replace("", "A") == "A" there is no way beyond this */
2020 "B.replace(old, new[, count]) -> bytes\n\
2033 if (!PyArg_ParseTuple(args, "OO|n:replace", &from, &to, &count))
2043 res = (PyObject *)replace((PyByteArrayObject *) self,
2537 a UnicodeDecodeError. Other possible values are 'ignore' and 'replace'\n\
2842 {"replace", (PyCFunction)bytearray_replace, METH_VARARGS, replace__doc__},