'Set each of the callbacks defined on handler and named in
self.handler_names on the given parser.'

def _hookup_callbacks(self, parser, handler):

    for name in self.handler_names:
        setattr(parser, name, getattr(handler, name))
