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

@@ -4,6 +4,9 @@ import tkinter
from typing import Any, Union, overload
from typing_extensions import Literal, TypedDict
if sys.version_info >= (3, 9):
__all__ = ["NORMAL", "ROMAN", "BOLD", "ITALIC", "nametofont", "Font", "families", "names"]
NORMAL: Literal["normal"]
ROMAN: Literal["roman"]
BOLD: Literal["bold"]