Delete autogen Literal

This commit is contained in:
AsfhtgkDavid 2025-01-25 22:56:41 +02:00
parent 5a56008edb
commit 0edb3041d0

View File

@ -49,15 +49,10 @@ class SupportsRead(Protocol[_T_co]):
StrOrBytesPath = Union[str, bytes, os.PathLike[str], os.PathLike[bytes]]
horizontal_anchors = ("l", "m", "r", "s")
vertical_anchors = ("a", "t", "m", "s", "b", "d")
Anchor = Literal[
*(
horizontal_anchor + vertical_anchor
for horizontal_anchor in horizontal_anchors
for vertical_anchor in vertical_anchors
)
]
Anchor = Literal["la", "lt", "lm", "ls", "lb", "ld",
"ma", "mt", "mm", "ms", "mb", "md",
"ra", "rt", "rm", "rs", "rb", "rd",
"sa", "st", "ms", "ss", "sb", "sd"]
Align = Literal["left", "center", "right"]