[Python-Dev] Classes that claim to be defined in __builtin__ but
aren't
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