code: def SeqN(n, *inner_rules, **kwargs):
      
      @action(Seq(*inner_rules), loc=kwargs.get("loc", None))
      def rule(parser, *values):
          return values[n]
      return rule
docs: A rule that accepts a sequence of tokens satisfying ``rules`` and returns
      the value returned by rule number ``n``, or None if the first rule was not satisfied.