mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add __all__ for most modules beginning with 't' (#7373)
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user