On 2020-07-03 9:37 p.m., Christopher Barker wrote:
On Fri, Jul 3, 2020 at 5:25 PM
mailto:TCPhone93@gmail.com> wrote: > I'd go for val[min:max] tbh.
another reason this is Not Good: in slicing syntax, a:b means >=a and < b -- this asymmetry is not what we would want here.
It doesn't make a difference tho, does it?
-CHB
-- Christopher Barker, PhD
Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@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/UNOBF4... Code of Conduct: http://python.org/psf/codeofconduct/