code: def parse_err_h(args):
      """Parse err codes, e.g. ERR_LIB_X509: 11"""
      pat = re.compile(r"#\s*define\W+ERR_LIB_(\w+)\s+(\d+)")
      lib2errnum = {}
      for match in _file_search(args.err_h, pat):
          libname, num = match.groups()
          lib2errnum[libname] = int(num)
  
      return lib2errnum
  
file_path: cpython/Tools/ssl/make_ssl_data.py
imports: import argparse
  import datetime
  import operator
  import os
  import re
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: parse_err_h(args) and returns: lib2errnum