Reduce need of backslash

Nicolas Fleury nid_oizo at yahoo.com_remove_the_
Fri Sep 26 21:48:11 CEST 2003

John Roth wrote:
> How about:
>     parser.StartElementHandler = (lambda name, attrs:
>         GenericParser.handleElementStart(self, name, attrs))

That's perfect.  All my incomprehension was because I didn't know a 
one-element tuple is written (x,) and not (x).  Thx


More information about the Python-list mailing list