Question about extending tuple

Lawrence Oluyede raims at dot.com
Wed Mar 28 16:01:15 EDT 2007


abcd <codecraig at gmail.com> wrote:
> I wanted to extend tuple but ran into a problem.  Here is what I
> thought would work

I think you should take a look at this to do it properly from the Python
devs:
http://svn.python.org/view/python/trunk/Lib/collections.py

Look for NamedTuple

-- 
Lawrence, oluyede.org - neropercaso.it
"It is difficult to get a man to understand 
something when his salary depends on not
understanding it" - Upton Sinclair



More information about the Python-list mailing list