class_docstr: Class for checking all interface specifications
class_docstr_tok: ["Class","for","checking","all","interface","specifications"]
code: def _get_object_name(self, line):
      name = line.split()[1].split("(")[0].strip()
      # in case we have classes which are not derived from object
      # ie. old style classes
      return name.rstrip(":")
  
file_path: nipype/tools/checkspecs.py
imports: import os
  import re
  import sys
  import warnings
  import black
label_desc: Use image node_id 4 for calling the InterfaceChecker obj's underlying member method code with example usage: obj._get_object_name(line) and returns: name