Skip to content

Commit c6fd6c8

Browse files
authored
bpo-29446: IDLE -- add explicit imports (GH-14919)
Stop depending on tkinter import *.
1 parent 387c3c5 commit c6fd6c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/idlelib/editor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
import importlib.util
33
import os
44
import platform
5+
import re
56
import string
7+
import sys
68
import tokenize
79
import traceback
810
import webbrowser

0 commit comments

Comments
 (0)