[Python-ideas] A namedtuple literal.

Eric Snow ericsnowcurrently at gmail.com
Wed Apr 2 06:40:59 CEST 2014


(Inspired by https://mail.python.org/pipermail/python-ideas/2010-October/008532.html)

(color: c, position: p)

This would automatically created a namedtuple class and provide an
instance of it.

-eric

p.s. Don't take this too seriously. :)


More information about the Python-ideas mailing list