code: def children(self, node: Rule) -> Iterator[Any]:
      for value in node:
          if isinstance(value, list):
              yield from value
          else:
              yield value
  
file_path: cpython/Tools/peg_generator/pegen/grammar_visualizer.py
imports: import argparse
  import sys
  from typing import Any, Callable, Iterator
  from pegen.build import build_parser
  from pegen.grammar import Grammar, Rule
label_desc: Use image node_id 1 for calling the ASTGrammarPrinter obj's underlying member method code with example usage: obj.children(node) without return types