class_docstr: The parser for Python grammar files.
class_docstr_tok: ["The","parser","for","Python","grammar","files","."]
code: def _raise_error(self, msg, *args):
      if args:
          try:
              msg = msg % args
          except:
              msg = " ".join([msg] + list(map(str, args)))
      line = self._bnf_grammar.splitlines()[self.begin[0] - 1]
      raise SyntaxError(
          msg, ("<grammar>", self.begin[0], self.begin[1], line)
      )
  
imports: from typing import Optional, Iterator, Tuple, List
  from parso.python.tokenize import tokenize
  from parso.utils import parse_version_string
  from parso.python.token import PythonTokenTypes
label_desc: Use image node_id 9 for calling the GrammarParser obj's underlying member method code with example usage: obj._raise_error(msg) without return types