<div>That's why strip_prefix(suffix) is a better name, can't double think.</div><br><div class="gmail_quote_attribution">On март 31 2019, at 11:56 утра, Steven D'Aprano <steve@pearwood.info> wrote:</div><blockquote><div><div>On Sun, Mar 31, 2019 at 07:35:22PM +1100, Steven D'Aprano wrote:</div><br><blockquote><div>"musical".lcut(('al', 'ical'))</div></blockquote><br><div>Oops, typo, I was thinking rcut and wrote lcut :-(</div><br><div>--</div><div>Steven</div><div>_______________________________________________</div><div>Python-ideas mailing list</div><div>Python-ideas@python.org</div><div>https://mail.python.org/mailman/listinfo/python-ideas</div><div>Code of Conduct: http://python.org/psf/codeofconduct/</div></div></blockquote><img class="mailspring-open" alt="Sent from Mailspring" width="0" height="0" style="border:0; width:0; height:0;" src="https://link.getmailspring.com/open/3E6365B7-E7E9-4B54-8D15-70B9E2AD01BC@getmailspring.com?recipient=cHl0aG9uLWlkZWFzQHB5dGhvbi5vcmc%3D">