True, False, None

Dave Benjamin ramen at lackingtalent.com
Tue Nov 11 20:12:15 EST 2003


In article <Klfsb.7716$nz.2382 at newsread2.news.pas.earthlink.net>, Andrew Dalke wrote:
> Douglas Alan:
>> Can someone remind me as to why [None, True, False] are
>> capitalized?  They clash annoyingly with the common coding
>> convention that capitalizes only classes.
> 
> Here's a conjecture -- those are singletons, and note that classes
> are singletons too.

And so are modules... ;)

-- 
.:[ dave benjamin (ramenboy) -:- www.ramenfest.com -:- www.3dex.com ]:.
: d r i n k i n g   l i f e   o u t   o f   t h e   c o n t a i n e r :




More information about the Python-list mailing list