>
>
> # Here is something different:
> >>> (0 or None) == (None or 0)
> False


What is the actual problem? You quoted the docs, it seems very clear.

(0 or None) would return None.

(None or 0) would return 0.

None is not equal to 0, of course.

--S
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to