Lines Matching defs:replace
1584 "replace string is too long");
1590 "replace string is too long");
1838 PyErr_SetString(PyExc_OverflowError, "replace bytes is too long");
1843 PyErr_SetString(PyExc_OverflowError, "replace bytes is too long");
1860 /* replace with the 'to' */
1908 PyErr_SetString(PyExc_OverflowError, "replace bytes is too long");
1913 PyErr_SetString(PyExc_OverflowError, "replace bytes is too long");
1932 /* replace with the 'to' */
1953 replace(PyByteArrayObject *self,
1975 /* >>> "Python".replace("", ".") */
1980 /* Except for "".replace("", "A") == "A" there is no way beyond this */
2024 "B.replace(old, new[, count]) -> bytes\n\
2037 if (!PyArg_ParseTuple(args, "OO|n:replace", &from, &to, &count))
2047 res = (PyObject *)replace((PyByteArrayObject *) self,
2545 a UnicodeDecodeError. Other possible values are 'ignore' and 'replace'\n\
2850 {"replace", (PyCFunction)bytearray_replace, METH_VARARGS, replace__doc__},