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 <[email protected]>:
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 <[email protected]> wrote:if a or b or c is in x:
if a and b and c are in x:
--
Greg
_______________________________________________
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/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 -- [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/7LUEGK326TJT7Z56WSPVR4HQZVB5PY5A/
Code of Conduct: http://python.org/psf/codeofconduct/
--
Отправлено из мобильного приложения Яндекс.Почты
_______________________________________________ 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/GLDLKLTZVY3AJIMYXN3ZLMHK26SUPFWF/ Code of Conduct: http://python.org/psf/codeofconduct/
