R
Roman Suzi
Just a thought. Why cmp() returns -1,0,1 while comparison
results are False and True? Isn't it logical step to add
Less, Equal and More?
Equal
if cmp(foo, bar) is Less:
...
hmmm... Sadly, I know GvR is not going to add new keyword:
if cmp(foo, bar) are Equal:
...
;-)
Sincerely yours, Roman Suzi
results are False and True? Isn't it logical step to add
Less, Equal and More?
Equal
if cmp(foo, bar) is Less:
...
hmmm... Sadly, I know GvR is not going to add new keyword:
if cmp(foo, bar) are Equal:
...
;-)
Sincerely yours, Roman Suzi