I starting g reading this thread in the middle, on a phone. But was very confused for a while because I didn’t notice that there were two ‘r’s at the beginning of .rreplace
Just sayin’ -CHB Sent from my iPhone > On Jul 19, 2018, at 9:29 AM, Paul Moore <p.f.mo...@gmail.com> wrote: > >> On 19 July 2018 at 16:25, Eric V. Smith <e...@trueblade.com> wrote: >> It currently does something: it replaces all instances, just as if you >> hadn't supplied a count (see my example below). You can't change its >> behavior. > > ... without a deprecation cycle. Which is of course not worth it for > something which could much more easily be done by adding an rreplace > function - which is the real point of the comment. > Paul > _______________________________________________ > Python-ideas mailing list > Python-ideas@python.org > https://mail.python.org/mailman/listinfo/python-ideas > Code of Conduct: http://python.org/psf/codeofconduct/ _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/