code: def copy_strip():  # pragma: no cover
      """Copy idle.html to idlelib/help.html, stripping trailing whitespace.
  
      Files with trailing whitespace cannot be pushed to the git cpython
      repository.  For 3.x (on Windows), help.html is generated, after
      editing idle.rst on the master branch, with
        sphinx-build -bhtml . build/html
        python_d.exe -c "from idlelib.help import copy_strip; copy_strip()"
      Check build/html/library/idle.html, the help.html diff, and the text
      displayed by Help => IDLE Help.  Add a blurb and create a PR.
  
      It can be worthwhile to occasionally generate help.html without
      touching idle.rst.  Changes to the master version and to the doc
      build system may result in changes that should not changed
      the displayed text, but might break HelpParser.
  
      As long as master and maintenance versions of idle.rst remain the
      same, help.html can be backported.  The internal Python version
      number is not displayed.  If maintenance idle.rst diverges from
      the master version, then instead of backporting help.html from
      master, repeat the procedure above to generate a maintenance
      version.
      """
      src = join(
          abspath(dirname(dirname(dirname(__file__)))),
          "Doc",
          "build",
          "html",
          "library",
          "idle.html",
      )
      dst = join(abspath(dirname(__file__)), "help.html")
      with open(src, "rb") as inn, open(dst, "wb") as out:
          for line in inn:
              out.write(line.rstrip() + b"\n")
      print(f"{src} copied to {dst}")
  
imports: from html.parser import HTMLParser
  from os.path import abspath, dirname, isfile, join
  from platform import python_version
  from tkinter import Toplevel, Text, Menu
  from tkinter.ttk import Frame, Menubutton, Scrollbar, Style
  from tkinter import font
  from idlelib.config import idleConf
label_desc: Use image node_id 1 for calling a global function with example usage: copy_strip() without return types