code: def instance(cls):
      """Create a new instance of a class.
  
      Parameters
      ----------
      cls : type
          The class to create an instance of.
  
      Returns
      -------
      instance : cls
          A new instance of ``cls``.
      """
      return cls()
  
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 21 for calling a global function with example usage: instance(cls) and returns: cls