[Python-3000] Why lowercase?
Christian Heimes
lists at cheimes.de
Fri Dec 14 08:51:28 CET 2007
hashcollision wrote:
> I don't think there is any chance that this will change in python 3000
> but...
> Why is the builtin types lowercase when the convention is for classes to be
> in CamelCase? For example, frozenset versus UserDict. Was there any reason
> that this is the way it is or is it just a "wart"?
Frozenset is a built-in type and not a class. All built-in types like
dict and float are spelled in lower case. UserDict is a relict from the
past and scheduled for removal. It's functionality is replaced by the
subclass-able dict type and ABCs.
Python 3.0 will be wart free.
Christian
More information about the Python-3000
mailing list