That's why strip_prefix(suffix) is a better name, can't double think. On март 31 2019, at 11:56 утра, Steven D'Aprano <[email protected]> wrote: > On Sun, Mar 31, 2019 at 07:35:22PM +1100, Steven D'Aprano wrote: > > > "musical".lcut(('al', 'ical')) > Oops, typo, I was thinking rcut and wrote lcut :-( > -- > Steven > _______________________________________________ > Python-ideas mailing list > [email protected] > https://mail.python.org/mailman/listinfo/python-ideas > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
