
Aug. 8, 2012
10:24 p.m.
On 09/08/12 04:59, Oleg Broytman wrote:
To distinguish False and None for a tri-state variable that can have 3 values - "yes", "no" and "unspecified" - True, False and None in Python-speak.
Er, not quite best practice. As any DailyWTFer knows, the correct third value for a boolean is FileNotFound. http://thedailywtf.com/Articles/What_Is_Truth_0x3f_.aspx -- Greg