name capitalization of built-in types, True, and False

cbtube03 at gmail.com cbtube03 at gmail.com
Fri May 11 16:37:48 EDT 2007


I see that naming conventions are such that classes usually get named
CamelCase. So why are the built-in types named all lowercase (like
list, dict, set, bool, etc.)?

And names for instances of classes are usually written in lowercase,
like foo in ``foo = CamelCase()``. So why are True and False
(instances of bool) capitalized? Shouldn't they be "true" and "false"?
Same goes for None.




More information about the Python-list mailing list