code: def get_init_doc(klass):
      for attr in inspect.classify_class_attrs(klass):
          if attr.name == "__init__":
              if attr.defining_class is klass:
                  return attr.object.__doc__
              else:
                  # Ignore __init__ method inherited from a super class
                  return None
      return None
  
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 a global function with example usage: get_init_doc(klass) and returns: None, attr, None