Skip to content

Commit e1c4d2a

Browse files
authored
more permissive type for tkinter fonts (#4453)
1 parent 0ebe4c2 commit e1c4d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/3/tkinter/font.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ _TkinterSequence = Union[List[_T], Tuple[_T, ...]]
2323
# See 'FONT DESCRIPTIONS' in font man page. This uses str because Literal
2424
# inside Tuple doesn't work.
2525
_FontDescription = Union[
26-
str, Font, Tuple[str, int], Tuple[str, int, _TkinterSequence[str]],
26+
str, Font, Tuple[str, int], Tuple[str, int, str], Tuple[str, int, _TkinterSequence[str]],
2727
]
2828

2929
class _FontDict(TypedDict):

0 commit comments

Comments
 (0)