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

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

Branch: CURRENT, Version: 1.7, Package name: py37-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:

Required to build:

Master sites:

SHA1: 0ed93d0fe7535dde2745f965bcbea802f6374d62
RMD160: b1314bf1b56e4ce0ddd8aea9d4977e468344f134
Filesize: 20.944 KB

Version history: (Expand)