There’s a bug in Python’s interpreter that causes True to equal False
quintenlisowe.medium.com
quintenlisowe.medium.com
a is b is c
is equivalent to (a is b) and (b is c)
I use this syntax most often with a < b < c to check that all items are in the expected order.Is there a way to edit submission titles? Or is that a moderator only thing?
It's a surprise to me that like "==" or "<", the "is" comparison operator can be chained. TIL. The author is a bit hyperbolic though.