summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2019-07-23 20:14:59 (GMT)
committerGitHub <noreply@github.com>2019-07-23 20:14:59 (GMT)
commitc6fd6c83b70df76421d05a7628367e64a2f83589 (patch)
treee5d40092ddb2b51342a6e8a84fc11e1f3420a059 /Lib
parent387c3c5a04bc62cfa7c9dabe206ba2c582a71c05 (diff)
downloadcpython-c6fd6c83b70df76421d05a7628367e64a2f83589.zip
cpython-c6fd6c83b70df76421d05a7628367e64a2f83589.tar.gz
cpython-c6fd6c83b70df76421d05a7628367e64a2f83589.tar.bz2
bpo-29446: IDLE -- add explicit imports (GH-14919)
Stop depending on tkinter import *.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/editor.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/editor.py b/Lib/idlelib/editor.py
index 497ee12..35027da 100644
--- a/Lib/idlelib/editor.py
+++ b/Lib/idlelib/editor.py
@@ -2,7 +2,9 @@ import importlib.abc
import importlib.util
import os
import platform
+import re
import string
+import sys
import tokenize
import traceback
import webbrowser