code: def __getattr__(cls, name):
      if name in ("__file__", "__path__"):
          return "/dev/null"
      elif name == "typecodes":
          return {"AllInteger": [], "AllFloat": []}
      elif name[0] == name[0].upper():
          mockType = type(name, (), {})
          mockType.__module__ = __name__
          return mockType
      else:
          return Mock()
  
file_path: scikit-cuda/docs/source/conf.py
imports: import re, sys, os
  import ctypes
  import pkg_resources
  import skcuda.utils
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, dict, mockType, Mock