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 Nicolas