On Fri, Jul 3, 2020 at 5:25 PM <[email protected]> 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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/UNOBF4O5MITA3IQ4OHBJOWJJW2ZZN3JK/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to