code: def lam_sub(grammar: Grammar, node: RawNode) -> NL:
      assert node[3] is not None
      return Node(type=node[0], children=node[3], context=node[2])
  
imports: from contextlib import contextmanager
  from typing import TYPE_CHECKING, Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Union, cast
  from blib2to3.pgen2.grammar import Grammar
  from blib2to3.pytree import NL, Context, Leaf, Node, RawNode, convert
  from .None import grammar, token, tokenize
label_desc: Use image node_id 1 for calling a global function with example usage: lam_sub(grammar, node) and returns: Node