tuples within tuples

korovev76 at gmail.com korovev76 at gmail.com
Fri Oct 26 15:58:39 EDT 2007


On 26 Ott, 19:23, Dennis Lee Bieber <wlfr... at ix.netcom.com> wrote:
 > > (A,B,C,D)
> > that could be
> > ('tagA', None, [('tagB', None, ['bobloblaw], None)], None)
>
>         "C" isn't a tuple in your example either. It is a one-element list
> (the single element INSIDE the list is a tuple whose third element is a
> list containing a non-terminated string -- so the entire structure is
> invalid)
>

i'm not sure what u mean with "the entire structure is invalid"...
that's exactly what I got while parsing...





More information about the Python-list mailing list