code: def parse(code=None, **kwargs):
      """
      A utility function to avoid loading grammars.
      Params are documented in :py:meth:`parso.Grammar.parse`.
  
      :param str version: The version used by :py:func:`parso.load_grammar`.
      """
      version = kwargs.pop("version", None)
      grammar = load_grammar(version=version)
      return grammar.parse(code, **kwargs)
  
imports: from parso.parser import ParserSyntaxError
  from parso.grammar import Grammar, load_grammar
  from parso.utils import split_lines, python_bytes_to_unicode
label_desc: Use image node_id 1 for calling a global function with example usage: parse(code) and returns: grammar