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

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-02-23 18:25:28 -08:00
1 parent 062fc75d73
commit 6a743348ca
22 files changed
+1192

No files matched your search

+18
View File
@@ -1,8 +1,26 @@
import sys
from _typeshed import StrOrBytesPath
from tkinter import Button, Entry, Frame, Listbox, Misc, Scrollbar, StringVar, Toplevel, commondialog
from typing import IO, Any, ClassVar, Iterable
from typing_extensions import Literal
if sys.version_info >= (3, 9):
__all__ = [
"FileDialog",
"LoadFileDialog",
"SaveFileDialog",
"Open",
"SaveAs",
"Directory",
"askopenfilename",
"asksaveasfilename",
"askopenfilenames",
"askopenfile",
"askopenfiles",
"asksaveasfile",
"askdirectory",
]
dialogstates: dict[Any, tuple[Any, Any]]
class FileDialog: