Chris:
> There are two obvious definitions of a range: a range object, and a
> pair of inequalities. I'm not sure whether a range object is
> supported, but it's possible to use a built-in type with a guard as a
> range check:

By range I mean an object in range. Is it possible to match object in range? 
No. Yes we can have a guard as a range check but Valentin is suggesting to have 
a different operator for range checking. I'm don't think that's possible.
_______________________________________________
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/2A6CMG2ZQT37LRMFSHGY2MH6NIVDPCH5/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to