On 2020-03-22 05:00, Dennis Sweeney wrote:
I like "removeprefix" and "removesuffix". My only concern before had been length, but three more characters than "cut***fix" is a small price to pay for clarity.
How about "dropprefix" and "dropsuffix"? _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/UL3SAVB3RGFTRFERG3J3VQNPQBXWTV7G/ Code of Conduct: http://python.org/psf/codeofconduct/
