Lines Matching defs:replace
718 if (strcmp(errors, "replace") == 0) {
2376 "replace string is too long");
2382 "replace string is too long");
2629 PyErr_SetString(PyExc_OverflowError, "replace string is too long");
2634 PyErr_SetString(PyExc_OverflowError, "replace string is too long");
2651 /* replace with the 'to' */
2698 PyErr_SetString(PyExc_OverflowError, "replace string is too long");
2703 PyErr_SetString(PyExc_OverflowError, "replace string is too long");
2722 /* replace with the 'to' */
2743 replace(PyStringObject *self,
2765 /* >>> "Python".replace("", ".") */
2770 /* Except for "".replace("", "A") == "A" there is no way beyond this */
2813 "S.replace(old, new[, count]) -> string\n\
2827 if (!PyArg_ParseTuple(args, "OO|n:replace", &from, &to, &count))
2854 return (PyObject *)replace((PyStringObject *) self,
3001 a UnicodeEncodeError. Other possible values are 'ignore', 'replace' and\n\
3040 a UnicodeDecodeError. Other possible values are 'ignore' and 'replace'\n\
3660 {"replace", (PyCFunction)string_replace, METH_VARARGS, replace__doc__},