class_docstr: Make sure classes do not have a docstring in their __init__ method.
class_docstr_tok: ["Make","sure","classes","do","not","have","a","docstring","in","their","__init__","method","."]
code: def check_init_docstring(self, mod, errors):
      for name, value in inspect.getmembers(mod):
          if not inspect.isclass(value):
              continue
          if "chainer" not in value.__module__:
              continue
          init_doc = get_init_doc(value)
          if init_doc == object.__init__.__doc__:
              # Ignore doc string inherited from `object`
              continue
  
          if init_doc is not None:
              # Do not permit to write docstring in `__init__`
              errors.append((mod, value, init_doc))
  
file_path: chainer/tests/chainer_tests/test_init_docstring.py
imports: import importlib
  import inspect
  import pkgutil
  import unittest
  import chainer
  from chainer import testing
label_desc: Use image node_id 1 for calling the TestInitDocstring obj's underlying member method code with example usage: obj.check_init_docstring(mod, errors) without return types