class_docstr: Base format for grab formats.
class_docstr_tok: ["Base","format","for","grab","formats","."]
code: def _init_pillow(self):
      with self._lock:
          if not self._pillow_imported:
              self._pillow_imported = True  # more like tried to import
              import PIL
  
              if not hasattr(PIL, "__version__"):  # pragma: no cover
                  raise ImportError(
                      "Imageio Pillow requires " "Pillow, not PIL!"
                  )
              try:
                  from PIL import ImageGrab
              except ImportError:
                  return None
              self._ImageGrab = ImageGrab
      return self._ImageGrab
  
file_path: imageio/imageio/plugins/grab.py
imports: import threading
  import numpy
  from ..core import Format
label_desc: Use image node_id 3 for calling the BaseGrabFormat obj's underlying member method code with example usage: obj._init_pillow() and returns: self, None