docstr: Get hard-coded core modules
docstr_tok: ["Get","hard-coded","core","modules"]
code: def get_core_modules(self) -> Iterable[ModuleInfo]:
      """Get hard-coded core modules"""
      for name in CORE_MODULES:
          modinfo = ModuleInfo(name, ModuleState.BUILTIN)
          logger.debug("Found core module %s", modinfo)
          yield modinfo
  
imports: import argparse
  import collections
  import enum
  import logging
  import os
  import pathlib
  import re
  import sys
  import sysconfig
  import warnings
  from importlib._bootstrap import _load
  from importlib.machinery import BuiltinImporter, ExtensionFileLoader, ModuleSpec
  from importlib.util import spec_from_file_location, spec_from_loader
  from typing import Iterable
label_desc: Use image node_id 8 for calling the ModuleChecker obj's underlying member method code with example usage: obj.get_core_modules() without return types