On Sat, Jul 1, 2017 at 12:39 AM, Soni L. <fakedme...@gmail.com> wrote:
> || is the mathematical notation for concatenation. Which, just so happens to
> be available in Python, even if it might be confused with short-circuiting
> `or`.

Also used in REXX. But the short-circuiting 'or' is not overridable.
You'd have to use bitwise or instead.

ChrisA
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to