On 21Mar2020 14:17, mus...@posteo.org <mus...@posteo.org> wrote:
On Fri, 20 Mar 2020 20:49:12 -0000
"Dennis Sweeney" <sweeney.dennis...@gmail.com> wrote:
exactly same way (as a character set) in each case. Looking at how
the argument is used, I'd argue that ``lstrip``/``rstrip``/``strip``
are much more similar to each other than they are to the proposed
methods

Correct, but I don't like the word "cut" because it suggests that
something is cut into pieces which can be used later separately.

I'd propose to use "trim" instead of "cut" because it makes clear that
something is cut off and discarded, and it is clearly different from
"strip".

Please, NO. "trim" is a VERY well known PHP function, and does what our strip does. I've very against this (otherwise fine) word for this reason.

I still prefer "cut", though the consensus seems to be for "strip".

Cheers,
Cameron Simpson <c...@cskk.id.au>
_______________________________________________
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/7P55K6BICBQ4YEKXD373SX2SRYRWKNU2/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to