mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
fix: pillow.ImageDraw.textlength may return float (#8773)
This commit is contained in:
@@ -116,7 +116,7 @@ class ImageDraw:
|
||||
features: Sequence[str] | None = ...,
|
||||
language: str | None = ...,
|
||||
embedded_color: bool = ...,
|
||||
) -> int: ...
|
||||
) -> float: ...
|
||||
def textbbox(
|
||||
self,
|
||||
xy: tuple[float, float],
|
||||
|
||||
Reference in New Issue
Block a user