Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 27bbfdb

Browse files
committed
Drop some dead imports of imp
1 parent c81549f commit 27bbfdb

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/idlelib/PathBrowser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import os
22
import sys
3-
import imp
43
import importlib.machinery
54

65
from idlelib.TreeWidget import TreeItem

Lib/idlelib/TreeWidget.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import os
1818
from tkinter import *
19-
import imp
2019

2120
from idlelib import ZoomHeight
2221
from idlelib.configHandler import idleConf

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ Library
8181
IDLE
8282
----
8383

84+
- Remove dead imports of imp.
85+
8486
- Issue #18196: Avoid displaying spurious SystemExit tracebacks.
8587

8688
- Issue #5492: Avoid traceback when exiting IDLE caused by a race condition.

0 commit comments

Comments
 (0)