class_docstr: Late import shim for greenlet
class_docstr_tok: ["Late","import","shim","for","greenlet"]
code: def __getattr__(self, key: str) -> Any:
      if key in self.__slots__:
          self._initialize()
          return getattr(self, key)
      else:
          raise AttributeError(key)
  
imports: from __future__ import annotations
  import asyncio
  import sys
  from typing import Any
  from typing import Awaitable
  from typing import Callable
  from typing import Coroutine
  from typing import NoReturn
  from typing import TYPE_CHECKING
  from typing import TypeVar
  from typing import Union
  from .compat import py311
  from .langhelpers import memoized_property
  from .typing import Literal
  from .typing import Self
  from .typing import TypeGuard
  from ..None import exc
label_desc: Use image node_id 3 for calling the _concurrency_shim_cls obj's underlying member method code with example usage: obj.__getattr__(key) and returns: getattr