On Sat, Mar 21, 2020 at 8:38 PM Guido van Rossum <gu...@python.org> wrote:
> It's not great, and I actually think that "stripprefix" and "stripsuffix"
are reasonable.
> [explanation snipped]

Thinking a bit more, I could also get behind "removeprefix" and
"removesuffix".

-- 
--Guido van Rossum (python.org/~guido)
*Pronouns: he/him **(why is my pronoun here?)*
<http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/SSKFJD2NAHVQIVXWAXDD4LPG5A4I6NI5/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to