code: def read_code(stream):
      # This helper is needed in order for the PEP 302 emulation to
      # correctly handle compiled files
      import marshal
  
      magic = stream.read(4)
      if magic != importlib.util.MAGIC_NUMBER:
          return None
  
      stream.read(12)  # Skip rest of the header
      return marshal.load(stream)
  
imports: from collections import namedtuple
  from functools import singledispatch
  import importlib
  import importlib.util
  import importlib.machinery
  import os
  import os.path
  import sys
  from types import ModuleType
  import warnings
label_desc: Use image node_id 2 for calling a global function with example usage: read_code(stream) and returns: marshal, None