code: def raise_error(self, msg: str, *args: Any) -> NoReturn:
      if args:
          try:
              msg = msg % args
          except Exception:
              msg = " ".join([msg] + list(map(str, args)))
      raise SyntaxError(
          msg, (self.filename, self.end[0], self.end[1], self.line)
      )
  
imports: import os
  from typing import IO, Any, Dict, Iterator, List, NoReturn, Optional, Sequence, Tuple, Union
  from blib2to3.pgen2 import grammar, token, tokenize
  from blib2to3.pgen2.tokenize import GoodTokenInfo
  import pkgutil
  import io
label_desc: Use image node_id 18 for calling the ParserGenerator obj's underlying member method code with example usage: obj.raise_error(msg) without return types