code: def name(self):
          
          name = getattr(self.action, "__name__", None)
          # ascii(action) not defined for all actions, so must only be evaluated if getattr fails
          return name if name is not None else ascii(self.action)
docs: Get the name of the action.