mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 04:34:33 +08:00
get rid of tkinter._TkinterSequence type alias (#6181)
This commit is contained in:
1 parent
cf78194c76
commit
53087be4eb
4 files changed
+101
-91
No files matched your search
@@ -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