]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-120417: Remove unused import in idlelib (GH-120420) (#120574)
authorTerry Jan Reedy <tjreedy@udel.edu>
Sun, 16 Jun 2024 05:45:32 +0000 (01:45 -0400)
committerGitHub <noreply@github.com>
Sun, 16 Jun 2024 05:45:32 +0000 (05:45 +0000)
(cherry picked from commit 4c6d4f5)

Co-authored-by: Victor Stinner vstinner@python.org
Lib/idlelib/grep.py

index ef14349960bfa2c2bb5911c86cc17aee212a49fe..42048ff2395fe1950d11547d05f896ff61c37a61 100644 (file)
@@ -190,7 +190,7 @@ class GrepDialog(SearchDialogBase):
 
 
 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