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: 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 collections import OrderedDict
  from typing import ClassVar, Generic, Union, Tuple, Callable
  from pickle import _getattribute
label_desc: Use image node_id 25 for calling a global function with example usage: instance(cls) and returns: cls