[Python-Dev] Naming nit
Guido van Rossum
guido at python.org
Thu Aug 12 06:17:07 CEST 2004
> [Raymond Hettinger]
> > > For PEP 292, should the class be Template() or template()?
> > >
>
> [Brett]
> > Template as per PEP 8.
>
> Does anyone else want to chime in (I'm not the one who needs to be
> convinced)?
Who is?
In general, classes imported from modules are Capitalized (CamelCase,
really). Only builtins aren't. (Counter-examples in the standard
library are mostly historic relics.)
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list