Maybe then this syntax will be more readable? :)
(a, b, c) all in something
And
(a, b, c) any in something
And yes, i do not see need for this.
PS. Happy New Year!
3:56, 1 января 2020 г., Christopher Barker <python...@gmail.com>:
I might go with:(a, b, c) orin somethingAnd(a, b, c) andin somethingBut really, not needed.-CHB--On Tue, Dec 31, 2019 at 3:25 PM Greg Ewing <greg.ew...@canterbury.ac.nz> wrote:if a or b or c is in x:
if a and b and c are in x:
--
Greg
_______________________________________________
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/KJSHAZIZ5N6GH4OO4UZ4MA6E5HM7WLJN/
Code of Conduct: http://python.org/psf/codeofconduct/
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/7LUEGK326TJT7Z56WSPVR4HQZVB5PY5A/
Code of Conduct: http://python.org/psf/codeofconduct/
--
Отправлено из мобильного приложения Яндекс.Почты
_______________________________________________ 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/GLDLKLTZVY3AJIMYXN3ZLMHK26SUPFWF/ Code of Conduct: http://python.org/psf/codeofconduct/