On Fri, Jul 3, 2020 at 5:25 PM <tcphon...@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.

-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-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/UNOBF4O5MITA3IQ4OHBJOWJJW2ZZN3JK/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to