mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
get rid of tkinter._TkinterSequence type alias (#6181)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import _tkinter
|
||||
import sys
|
||||
import tkinter
|
||||
from typing import Any, Tuple, Union, overload
|
||||
from typing import Any, List, Tuple, Union, overload
|
||||
from typing_extensions import Literal, TypedDict
|
||||
|
||||
NORMAL: Literal["normal"]
|
||||
@@ -15,7 +15,8 @@ _FontDescription = Union[
|
||||
# A font object constructed in Python
|
||||
Font,
|
||||
# ("Helvetica", 12, BOLD)
|
||||
tkinter._TkinterSequence[Any],
|
||||
List[Any],
|
||||
Tuple[Any, ...],
|
||||
# A font object constructed in Tcl
|
||||
_tkinter.Tcl_Obj,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user