That's why strip_prefix(suffix) is a better name, can't double think.

On март 31 2019, at 11:56 утра, Steven D'Aprano <st...@pearwood.info> 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
> 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/

Reply via email to