Hello,
I'm a little confused about None in comparison.
3086100672L
134541104
True
I thought, the id of the object is the last comparison criterion.
Therefore, None must be greater then 1.
Where is the behaviour of the comparison defined?. In the __cmp__ of
int. Or in the global cmp Function?
Thanks in advance
Rainer
I'm a little confused about None in comparison.
>>id ( None )
>>id ( 1 )
>>None < 1
>>>
Therefore, None must be greater then 1.
Where is the behaviour of the comparison defined?. In the __cmp__ of
int. Or in the global cmp Function?
Thanks in advance
Rainer
Comment