code: def _print_refs(self, fobj, refs, total, level=1, minsize=0, minpct=0.1):
          
          lrefs = list(refs)
          lrefs.sort(key=lambda x: x.size)
          lrefs.reverse()
          if level == 1:
              fobj.write('<table>\n')
          for ref in lrefs:
              if ref.size > minsize and (ref.size*100.0/total) > minpct:
                  data = dict(level=level,
                              name=trunc(str(ref.name), 128),
                              size=pp(ref.size),
                              pct=ref.size*100.0/total)
                  fobj.write(self.refrow % data)
                  self._print_refs(fobj, ref.refs, total, level=level+1)
          if level == 1:
              fobj.write("</table>\n")
docs: Print individual referents recursively.