code: def symbols_for_node(node, parent_symbols=None):
      sym = Symbols(parent=parent_symbols)
      sym.analyze_node(node)
      return sym
  
imports: from ._compat import iteritems
  from .visitor import NodeVisitor
label_desc: Use image node_id 2 for calling a global function with example usage: symbols_for_node(node, parent_symbols) and returns: sym