[Python-Dev] Naming nit (original) (raw)
Guido van Rossum guido at python.org
Thu Aug 12 06:17:07 CEST 2004
- Previous message: [Python-Dev] Naming nit
- Next message: [Python-Dev] Naming nit
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[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/)
- Previous message: [Python-Dev] Naming nit
- Next message: [Python-Dev] Naming nit
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]