code: def p_exception(self, p):
          '''exception : EXCEPTION IDENTIFIER '{' field_seq '}' annotations'''
          p[0] = ast.Exc(
              name=p[2], fields=p[4], annotations=p[6], lineno=p.lineno(2)
          f p_exception(self, p):
          '''exception : EXCEPTION IDENTIFIER '{' field_seq '}' annotations'''
          p[0] = ast.Exc(
              name=p[2], fields=p[4], annotations=p[6], lineno=p.lineno(2)
          )
docs: exception : EXCEPTION IDENTIFIER '{' field_seq '}' annotations