code: def readmodule(module, path=None):
      """Return Class objects for the top-level classes in module.
  
      This is the original interface, before Functions were added.
      """
  
      res = {}
      for key, value in _readmodule(module, path or []).items():
          if isinstance(value, Class):
              res[key] = value
      return res
  
imports: import ast
  import sys
  import importlib.util
label_desc: Use image node_id 3 for calling a global function with example usage: readmodule(module, path) and returns: res