mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 08:12:33 +03:00
Delete autogen Literal
This commit is contained in:
parent
5a56008edb
commit
0edb3041d0
|
@ -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"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user