bpo-30495: IDLE: Modernize textview.py with docstrings and PEP8 names (#1839)

Patch by Cheryl Sabella.

3 files changed