[EMAIL PROTECTED] wrote: > if type(input) == str: You might consider writing this as:
if isinstance(input, basestring):
I don't know if pyparsing ever produces unicode objects, but in case it
does (or it starts to in the future), isinstance is a better call here.
STeVe
--
http://mail.python.org/mailman/listinfo/python-list
