On Fri, 26 Oct 2007 14:26:24 -0600, Michael L Torrie wrote:

> [EMAIL PROTECTED] wrote:
[snip]
>>>> ('tagA', None, [('tagB', None, ['bobloblaw], None)], None)
                                               ^
Syntax error behind ``'bobloblaw``.

>>>         "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...
> 
> Your structure is correct.  Dennis just didn't read all the matching
> parens and brackets properly.

He certainly is -- *you* are misreading *him*. The nit he's picking is 
the non-terminated string (quotation mark/apostrophe missing).

Nit-picking'ly,
Stargaming
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to