code: def __get__(self, instance, owner):
      if instance is None:
          return self.method
      else:
          # Why `inplace=True`?
          # This is safe because the `BoundMethod` was only instantiated here.
          # This is necessary so that `_method.__self__ is instance`, which is used
          # as part of a no-cycle check in `_make_initable`.
          _method = _module_update_wrapper(
              BoundMethod(self.method, instance), None, inplace=True
          )
          return _method
  
imports: import abc
  import dataclasses
  import functools
  import inspect
  import types
  import warnings
  import weakref
  from collections.abc import Callable
  from typing import Any, cast, Optional, Protocol, TYPE_CHECKING, TypeVar, Union
  from typing_extensions import dataclass_transform, ParamSpec
  import jax._src.traceback_util
  import jax.tree_util
  import numpy
  from jaxtyping import Array, Bool, PyTreeDef
  from ._better_abstract import ABCMeta, dataclass
  from ._caches import internal_lru_caches
  from ._doc_utils import doc_repr
  from ._pretty_print import tree_pformat
  from ._tree import tree_equal
label_desc: Use image node_id 2 for calling the _wrap_method obj's underlying member method code with example usage: obj.__get__(instance, owner) and returns: self, _method