class_docstr: A subclass of the module type which triggers loading upon attribute access.
class_docstr_tok: ["A","subclass","of","the","module","type","which","triggers","loading","upon","attribute","access","."]
docstr: Trigger the load and then perform the deletion.
docstr_tok: ["Trigger","the","load","and","then","perform","the","deletion","."]
code: def __delattr__(self, attr):
      """Trigger the load and then perform the deletion."""
      # To trigger the load and raise an exception if the attribute
      # doesn't exist.
      self.__getattribute__(attr)
      delattr(self, attr)
  
imports: from ._abc import Loader
  from ._bootstrap import module_from_spec
  from ._bootstrap import _resolve_name
  from ._bootstrap import spec_from_loader
  from ._bootstrap import _find_spec
  from ._bootstrap_external import MAGIC_NUMBER
  from ._bootstrap_external import _RAW_MAGIC_NUMBER
  from ._bootstrap_external import cache_from_source
  from ._bootstrap_external import decode_source
  from ._bootstrap_external import source_from_cache
  from ._bootstrap_external import spec_from_file_location
  from contextlib import contextmanager
  import _imp
  import functools
  import sys
  import types
  import warnings
label_desc: Use image node_id 2 for calling the _LazyModule obj's underlying member method code with example usage: obj.__delattr__(attr) without return types