mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 19:28:50 +08:00
fix: pillow.ImageDraw.textlength may return float (#8773)
This commit is contained in:
1 parent
876c9bf6af
commit
efeff93d21
1 file changed
+1
-1
@@ -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