'Add an action with the given discriminator, callable and arguments'

def action(self, discriminator, callable=None, args=(), kw=None, order=0, includepath=(), info=None, introspectables=(), **extra):

    if (kw is None):
        kw = {}
    action = extra
    action.update(dict(discriminator=discriminator, callable=callable, args=args, kw=kw, includepath=includepath, info=info, order=order, introspectables=introspectables))
    self.actions.append(action)
