Naming Conventions, Where's the Convention Waldo?

Marek Kubica marek at xivilization.net
Sun Jul 11 07:51:50 EDT 2010


On Sun, 11 Jul 2010 00:26:36 -0700 (PDT)
rantingrick <rantingrick at gmail.com> wrote:

> Another source of asininity seems to be the naming conventions of the
> Python language proper! True/False start with an upper case and i
> applaud this. However str, list, tuple, int, float --need i go
> on...?-- start with lowercase.

Achtually, these are type names with their own constructor. The name of
the type of True and False is bool and, bool() returns a bool-object.

regards,
Marek



More information about the Python-list mailing list