From e1c4d2a7130daaad6bdaa30de665a1b40ae573b5 Mon Sep 17 00:00:00 2001 From: Akuli Date: Mon, 17 Aug 2020 16:52:16 +0300 Subject: [PATCH] more permissive type for tkinter fonts (#4453) --- stdlib/3/tkinter/font.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/tkinter/font.pyi b/stdlib/3/tkinter/font.pyi index cd9aca4d0..0bdee0fe6 100644 --- a/stdlib/3/tkinter/font.pyi +++ b/stdlib/3/tkinter/font.pyi @@ -23,7 +23,7 @@ _TkinterSequence = Union[List[_T], Tuple[_T, ...]] # See 'FONT DESCRIPTIONS' in font man page. This uses str because Literal # inside Tuple doesn't work. _FontDescription = Union[ - str, Font, Tuple[str, int], Tuple[str, int, _TkinterSequence[str]], + str, Font, Tuple[str, int], Tuple[str, int, str], Tuple[str, int, _TkinterSequence[str]], ] class _FontDict(TypedDict):