Thread: Python 2.5
View Single Post
Old Apr 16th, 2006, 10:38 AM   #7
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,013
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
Quote:
Originally Posted by Kakao
The proposed sintax address it making the true value come first. In your example you had to do a NOT(condition) to make it work the same.
Not quite. I've noticed Python can be quite finicky about that. I don't have any examples, but I've remembered times when certain objects/items have been considered "not False" but not "True". Therefore we must use "not False" to withstand all the possible cases.
Sane is offline   Reply With Quote