Skip to content

Commit

Permalink
Updated type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Feb 7, 2025
1 parent a7aadcc commit 3075200
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/PIL/ImageDraw.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,18 +696,18 @@ def _prepare_multiline_text(
| ImageFont.TransposedFont
| None
),
anchor: str | None,
anchor: ImageFont.Anchor | None,
spacing: float,
align: str,
direction: str | None,
align: Align,
direction: ImageFont.Direction | None,
features: list[str] | None,
language: str | None,
stroke_width: float,
embedded_color: bool,
font_size: float | None,
) -> tuple[
ImageFont.ImageFont | ImageFont.FreeTypeFont | ImageFont.TransposedFont,
str,
ImageFont.Anchor,
list[tuple[tuple[float, float], AnyStr]],
]:
if direction == "ttb":
Expand Down

0 comments on commit 3075200

Please sign in to comment.