Booleans and comparison results
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?
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
firstname.lastname@example.org =\= My AI powered by GNU/Linux RedHat 7.3
|All times are GMT. The time now is 09:28 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.