Coding conventions for class names

"Martin v. Löwis" martin at v.loewis.de
Thu Apr 26 04:49:58 EDT 2007


Kay Schluehr schrieb:
> set, int, float, list, object,...
> 
> Don't see any of the basic types following the capitalized word
> convention for classes covered by PEP 08. 

These aren't classes, they are types. PEP 8 doesn't specify any
convention for types; it is common to either apply the conventions
for functions to them, or the conventions for classes.

Regards,
Martin



More information about the Python-list mailing list