./devel/py-namedlist, Similar to namedtuple, but instances are mutable

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.7, Package name: py310-namedlist-1.7, Maintainer: pkgsrc-users

namedlist provides 2 factory functions, namedlist.namedlist and
namedlist.namedtuple. namedlist.namedtuple is similar to
collections.namedtuple, with the following differences:

* namedlist.namedtuple supports per-field default values.
* namedlist.namedtuple supports an optional default value, to be used by all
fields that do not have an explicit default value.

namedlist.namedlist is similar, with this additional difference:

* namedlist.namedlist instances are mutable.


Required to run:
[lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

RMD160: b1314bf1b56e4ce0ddd8aea9d4977e468344f134
Filesize: 20.944 KB

Version history: (Expand)