code: def _get_bases(typ):
      if hasattr(typ, "__orig_bases__"):
          # For generic types (see PEP 560)
          bases_attr = "__orig_bases__"
      else:
          # For regular class objects
          bases_attr = "__bases__"
      return getattr(typ, bases_attr)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import builtins
  import dis
  import opcode
  import platform
  import sys
  import types
  import weakref
  import uuid
  import threading
  import typing
  import warnings
  from ._compat import pickle
  from typing import Generic, Union, Tuple, Callable
  from pickle import _getattribute
  from importlib._bootstrap import _find_spec
label_desc: Use image node_id 32 for calling a global function with example usage: _get_bases(typ) and returns: getattr