True, False, None

Andrew Dalke adalke at mindspring.com
Tue Nov 11 19:42:18 EST 2003


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.

                    Andrew
                    dalke at dalkescientific.com






More information about the Python-list mailing list