code: def generate_specialized_opmap(
      analysis: Analysis, out: CWriter
  ) -> None:
      out.emit("_specialized_opmap = {\n")
      names = []
      for family in analysis.families.values():
          for member in family.members:
              if member.name == family.name:
                  continue
              names.append(member.name)
      for name in sorted(names):
          out.emit(f"'{name}': {analysis.opmap[name]},\n")
      out.emit("}\n\n")
  
file_path: cpython/Tools/cases_generator/py_metadata_generator.py
imports: import argparse
  from analyzer import Analysis, analyze_files
  from generators_common import DEFAULT_INPUT, ROOT, root_relative_path, write_header
  from cwriter import CWriter
  from typing import TextIO
label_desc: Use image node_id 3 for calling a global function with example usage: generate_specialized_opmap(analysis, out) without return types