True == 1 weirdness

Mark Lawrence breamoreboy at yahoo.co.uk
Wed Sep 16 22:29:48 CEST 2015


On 16/09/2015 18:53, Sven R. Kunze wrote:
> On 16.09.2015 19:39, Steven D'Aprano wrote:
>> node = left <= ptr => right
>
> Wow. I have absolutely no idea what this is supposed to mean. Do you
> care to elaborate?
>
>
> Best,
> Sven

Simple, straight forward easy to read bit of Python, where is the 
problem?  node is bound to the boolean ptr is greater than or equal to 
left and right.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence



More information about the Python-list mailing list