Beginner question: Converting Single-Element tuples to list

Paul McGuire ptmcg at austin.rr.com
Mon Jun 27 12:08:34 EDT 2005


John -

I just modified my test program BNF to use ZeroOrMore instead of
OneOrMore, and parsed an empty string.  Calling list() on the returned
results gives an empty list.  What version of pyparsing are you seeing
this None/object/list behavior?

-- Paul




More information about the Python-list mailing list