code: def _makecodes(*names):
      items = [
          _NamedIntConstant(i, name) for i, name in enumerate(names)
      ]
      globals().update({item.name: item for item in items})
      return items
  
file_path: cpython/Lib/re/_constants.py
imports: from _sre import MAXREPEAT, MAXGROUPS
label_desc: Use image node_id 1 for calling a global function with example usage: _makecodes() and returns: items