[Python-ideas] Different interface for namedtuple?

Carl M. Johnson cmjohnson.mailinglist at gmail.com
Sat Mar 5 07:00:42 CET 2011


On Fri, Mar 4, 2011 at 7:02 PM, Raymond Hettinger
<raymond.hettinger at gmail.com> wrote:

> P.S.  Its "namedtuple" not NamedTuple.  The latter suggests
> a class rather than a factory function.

"NamedTuple" is my name for a hypothetical replacement for namedtuple
that uses Metaclasses rather than being a factory function.



More information about the Python-ideas mailing list