class_docstr: A finder and loader that produces "accelerated" modules.
  
  When someone attempts to import the specified slow library with
  this finder enabled, we intercept the import and deliver an
  equivalent, accelerated, version of the module. This provides
  attributes and modules that check if they are being used from
  "within" the slow (or fast) library themselves. If this is the
  case, the implementation is forwarded to the actual slow library
  implementation, otherwise a proxy implementation is used (which
  attempts to call the fast version first).
docstr: Return a context manager for disabling the module accelerator.
  
  Within the block, any wrapped objects will instead deliver
  attributes from their real counterparts (as if the current
  nested block were in the denylist).
  
  Returns
  -------
  Context manager for disabling things
docstr_tok: ["Return","a","context","manager","for","disabling","the","module","accelerator",".","Within","the","block",",","any","wrapped","objects","will","instead","deliver","attributes","from","their","real","counterparts","(","as","if","the","current","nested","block","were","in","the","denylist",")",".","Returns","--","--","--","-","Context","manager","for","disabling","things"]
code: def disabled(self):
      """Return a context manager for disabling the module accelerator.
  
      Within the block, any wrapped objects will instead deliver
      attributes from their real counterparts (as if the current
      nested block were in the denylist).
  
      Returns
      -------
      Context manager for disabling things
      """
      try:
          self._use_fast_lib_lock.acquire()
          # The same thread might enter this context manager
          # multiple times, so we need to remember the previous
          # value
          saved = self._use_fast_lib
          self._use_fast_lib = False
          yield
      finally:
          self._use_fast_lib = saved
          self._use_fast_lib_lock.release()
  
imports: from __future__ import annotations
  import contextlib
  import functools
  import importlib
  import importlib.abc
  import importlib.machinery
  import os
  import pathlib
  import sys
  import threading
  import warnings
  from abc import abstractmethod
  from importlib._bootstrap import _ImportLockContext
  from types import ModuleType
  from typing import Any, ContextManager, Dict, List, NamedTuple
  from typing_extensions import Self
  from .fast_slow_proxy import _FunctionProxy, _is_function_or_method, _Unusable, get_final_type_map, get_intermediate_type_map, get_registered_functions
label_desc: Use image node_id 3 for calling the ModuleAccelerator obj's underlying member method code with example usage: obj.disabled() without return types