https://github.com/python/cpython/commit/51af315a321ef0fc9fb6924bcddea29b4bea00d2
commit: 51af315a321ef0fc9fb6924bcddea29b4bea00d2
branch: 3.12
author: Terry Jan Reedy <[email protected]>
committer: terryjreedy <[email protected]>
date: 2024-06-16T05:45:32Z
summary:

[3.12] gh-120417: Remove unused import in idlelib (GH-120420) (#120574)

(cherry picked from commit 4c6d4f5)

Co-authored-by: Victor Stinner [email protected]

files:
M Lib/idlelib/grep.py

diff --git a/Lib/idlelib/grep.py b/Lib/idlelib/grep.py
index ef14349960bfa2..42048ff2395fe1 100644
--- a/Lib/idlelib/grep.py
+++ b/Lib/idlelib/grep.py
@@ -190,7 +190,7 @@ def grep_it(self, prog, path):
 
 
 def _grep_dialog(parent):  # htest #
-    from tkinter import Toplevel, Text, SEL, END
+    from tkinter import Toplevel, Text, SEL
     from tkinter.ttk import Frame, Button
     from idlelib.pyshell import PyShellFileList
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to