mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-127930: use explicit imports in tkinter.simpledialog (#127931)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
This commit is contained in:
parent
a2a400af1e
commit
81bfcf1aae
2 changed files with 5 additions and 1 deletions
|
|
@ -23,9 +23,12 @@
|
|||
askstring -- get a string from the user
|
||||
"""
|
||||
|
||||
from tkinter import *
|
||||
from tkinter import Button, Entry, Frame, Label, Message, Tk, Toplevel
|
||||
from tkinter import _get_temp_root, _destroy_temp_root
|
||||
from tkinter import messagebox
|
||||
from tkinter.constants import ACTIVE, BOTH, END, LEFT, RIDGE, W, E
|
||||
|
||||
__all__ = ["SimpleDialog", "Dialog", "askinteger", "askfloat", "askstring"]
|
||||
|
||||
|
||||
class SimpleDialog:
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
Add ``__all__`` to :mod:`tkinter.simpledialog`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue