class_docstr: Render help.html into a text widget.
  
  The overridden handle_xyz methods handle a subset of html tags.
  The supplied text should have the needed tag configurations.
  The behavior for unsupported tags, such as table, is undefined.
  If the tags generated by Sphinx change, this class, especially
  the handle_starttag and handle_endtags methods, might have to also.
class_docstr_tok: ["Render","help.html","into","a","text","widget",".","The","overridden","handle_xyz","methods","handle","a","subset","of","html","tags",".","The","supplied","text","should","have","the","needed","tag","configurations",".","The","behavior","for","unsupported","tags",",","such","as","table",",","is","undefined",".","If","the","tags","generated","by","Sphinx","change",",","this","class",",","especially","the","handle_starttag","and","handle_endtags","methods",",","might","have","to","also","."]
code: def __init__(self, text):
      HTMLParser.__init__(self)
      self.text = text  # text widget we're rendering into
      self.tags = ""  # current block level text tags to apply
      self.chartags = ""  # current character level text tags
      self.show = False  # used so we exclude page navigation
      self.hdrlink = False  # used so we don't show header links
      self.level = 0  # indentation level
      self.pre = False  # displaying preformatted text
      self.hprefix = ""  # prefix such as '25.5' to strip from headings
      self.nested_dl = False  # if we're in a nested <dl>
      self.simplelist = False  # simple list (no double spacing)
      self.toc = []  # pair headers with text indexes for toc
      self.header = ""
  
imports: from HTMLParser import HTMLParser
  from os.path import abspath, dirname, isdir, isfile, join
  from platform import python_version
  from Tkinter import Tk, Toplevel, Frame, Text, Scrollbar, Menu, Menubutton
  import tkFont
  from idlelib.configHandler import idleConf
label_desc: Use image node_id 1 to create a new HelpParser object from inherited base classes: HTMLParser with example: obj = HelpParser(text)