On 03/06/2020 04:07 PM, Steven D'Aprano wrote:
On Fri, Mar 06, 2020 at 03:33:49PM -0800, Ethan Furman wrote:

I think we should have a `stripstr()` as an alias for strip, and a new
`stripchr()`.

Shouldn't they be the other way around?

`strip` removes chars from a set of chars; the proposed method will
remove a prefix/suffix.

Um, yeah.  Thanks for catching that.

--
~Ethan~
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/3NGTPFL7MYDEQ6VVMNUYSFYP7CGKAXOE/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to