class_docstr: Finds the longest form of variable names and their imports in code
  
  Only retains names from imported modules.
code: def __init__(self):
      super(NameFinder, self).__init__()
      self.imported_names = {}
      self.accessed_names = set()
  
file_path: tensorly/doc/sphinx_ext/sphinx_gallery/backreferences.py
imports: from __future__ import print_function
  import ast
  import os
label_desc: Use image node_id 1 to create a new NameFinder object from inherited base classes: ast with example: obj = NameFinder()