[Python-Dev] Classes that claim to be defined in builtin but aren't (original) (raw)

Guido van Rossum guido at python.org
Tue Aug 10 17:01:17 CEST 2004


Well, it's already there, but types.GeneratorType.name is 'generator'... it could be changed to 'GeneratorType', I guess.

No, no, no! The "new" convention for built-in type names is all lowercase. CamelCaseType is old and only used in the context of types.py.

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list