Yo All!

2nd Python undocumented limitation:

https://docs.python.org/2.7/library/collections.html?highlight=namedtuples#collections.namedtuple

namedtuples makes no mention of a limitation on the number of elements in
a namedtuple.

But:

>>> a = collections.namedtuple('a', 'b', 'c', 'd', 'e')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: namedtuple() takes at most 4 arguments (5 given)



RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        g...@rellim.com  Tel:+1 541 382 8588

Attachment: pgpSoDgZLaZMY.pgp
Description: OpenPGP digital signature

_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to