summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/idlelib/PathBrowser.py1
-rw-r--r--Lib/idlelib/TreeWidget.py1
-rw-r--r--Misc/NEWS2
3 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/PathBrowser.py b/Lib/idlelib/PathBrowser.py
index 09b3bbf..ba40719 100644
--- a/Lib/idlelib/PathBrowser.py
+++ b/Lib/idlelib/PathBrowser.py
@@ -1,6 +1,5 @@
import os
import sys
-import imp
import importlib.machinery
from idlelib.TreeWidget import TreeItem
diff --git a/Lib/idlelib/TreeWidget.py b/Lib/idlelib/TreeWidget.py
index d4e524b..25bae48 100644
--- a/Lib/idlelib/TreeWidget.py
+++ b/Lib/idlelib/TreeWidget.py
@@ -16,7 +16,6 @@
import os
from tkinter import *
-import imp
from idlelib import ZoomHeight
from idlelib.configHandler import idleConf
diff --git a/Misc/NEWS b/Misc/NEWS
index 372b3fe..70b183f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -81,6 +81,8 @@ Library
IDLE
----
+- Remove dead imports of imp.
+
- Issue #18196: Avoid displaying spurious SystemExit tracebacks.
- Issue #5492: Avoid traceback when exiting IDLE caused by a race condition.