class_docstr: Mock class for mocking module instances.
class_docstr_tok: ["Mock","class","for","mocking","module","instances","."]
docstr: Mock common module attributes used in documentation.
docstr_tok: ["Mock","common","module","attributes","used","in","documentation","."]
code: def __getattr__(cls, name):
      """Mock common module attributes used in documentation."""
      if name in ("__file__", "__path__"):
          return "/dev/null"
      elif name[0] == name[0].upper():
          mockType = type(name, (), {})
          mockType.__module__ = __name__
          return mockType
      elif name == "inf":
          return 0
      else:
          return Mock()
  
file_path: satpy/doc/source/conf.py
imports: from __future__ import annotations
  import os
  import sys
  from datetime import datetime
  from reader_table import generate_reader_table
  import satpy
label_desc: Use image node_id 3 for calling the Mock obj's underlying member method code with example usage: obj.__getattr__(cls, name) and returns: str, mockType, int, Mock