code: def _find_relative(self, spec):
          
          if spec.template_rel_path is not None:
              return os.path.split(spec.template_rel_path)
          # Otherwise, determine the file name separately.
  
          locator = self.loader._make_locator()
  
          # We do not use the ternary operator for Python 2.4 support.
          if spec.template_name is not None:
              template_name = spec.template_name
          else:
              template_name = locator.make_template_name(spec)
  
          file_name = locator.make_file_name(template_name, spec.template_extension)
  
          return (spec.template_rel_directory, file_name)
docs: Return the path to the template as a relative (dir, file_name) pair.
  
          The directory returned is relative to the directory containing the
          class definition of the given object.  The method returns None for
          this directory if the directory is unknown without first searching
          the search directories.