Skip to content

Commit f7d8816

Browse files
committed
use explicit imports in tkinter.simpledialog
1 parent 2de048c commit f7d8816

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/tkinter/simpledialog.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
askstring -- get a string from the user
2424
"""
2525

26-
from tkinter import *
26+
from tkinter import Button, Entry, Frame, Label, Message, Tk, Toplevel
2727
from tkinter import _get_temp_root, _destroy_temp_root
2828
from tkinter import messagebox
29+
from tkinter.constants import ACTIVE, BOTH, END, LEFT, RIDGE, W, E
2930

3031

3132
class SimpleDialog:

0 commit comments

Comments
 (0)