Lines Matching defs:repl
634 "sub($self, /, repl, string, count=0)\n"
637 "Return the string obtained by replacing the leftmost non-overlapping occurrences of pattern in string by the replacement repl.");
644 PyObject *repl, PyObject *string, Py_ssize_t count);
650 static const char * const _keywords[] = {"repl", "string", "count", NULL};
654 PyObject *repl;
662 repl = args[0];
680 return_value = _sre_SRE_Pattern_sub_impl(self, cls, repl, string, count);
687 "subn($self, /, repl, string, count=0)\n"
690 "Return the tuple (new_string, number_of_subs_made) found by replacing the leftmost non-overlapping occurrences of pattern with the replacement repl.");
697 PyObject *repl, PyObject *string,
704 static const char * const _keywords[] = {"repl", "string", "count", NULL};
708 PyObject *repl;
716 repl = args[0];
734 return_value = _sre_SRE_Pattern_subn_impl(self, cls, repl, string, count);