True == 1 weirdness
steve at pearwood.info
Wed Sep 16 19:42:01 CEST 2015
On Thu, 17 Sep 2015 03:27 am, Grant Edwards wrote:
> On 2015-09-16, Sven R. Kunze <srkunze at mail.de> wrote:
>> On 16.09.2015 18:57, Random832 wrote:
>>> I think that chaining should be limited to:
>>> A) all operators are "="
>>> B) all operators are "is"
> I'm not all that sure A and B should be allowed.
You can take `x == y == z` off me when you pry it from my cold, dead hands.
More information about the Python-list