[Python-ideas] A namedtuple literal.

Philipp A. flying-sheep at web.de
Wed Apr 2 08:54:18 CEST 2014


2014-04-02 7:07 GMT+02:00 Eric Snow <ericsnowcurrently at gmail.com>:

> Nice!  Alas, you lose your kw order so it's less namedtuply, which is
> precisely what I've been digging the list archives about. :)
>
> -eric
>

i have this one floating around:
https://gist.github.com/flying-sheep/9929117

it can easily be adapted for namedtuples.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140402/c054333f/attachment.html>


More information about the Python-ideas mailing list