Add __all__ for most modules beginning with 't' (#7373)

This commit is contained in:
Alex Waygood
2022-02-24 02:25:28 +00:00
committed by GitHub
parent 062fc75d73
commit 6a743348ca
22 changed files with 1192 additions and 0 deletions

View File

@@ -1,6 +1,19 @@
import sys
from tkinter.commondialog import Dialog
from typing import Any, ClassVar
if sys.version_info >= (3, 9):
__all__ = [
"showinfo",
"showwarning",
"showerror",
"askquestion",
"askokcancel",
"askyesno",
"askyesnocancel",
"askretrycancel",
]
ERROR: str
INFO: str
QUESTION: str