From b6d121600e045a4803ddb957592b8caf2717fc55 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Wed, 24 Jan 2024 12:39:05 +0000 Subject: [PATCH] Add a number of properties to PIL.ImageStat.Stat (#11303) --- stubs/Pillow/PIL/ImageStat.pyi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stubs/Pillow/PIL/ImageStat.pyi b/stubs/Pillow/PIL/ImageStat.pyi index 7ae15d7a7..0075fdd47 100644 --- a/stubs/Pillow/PIL/ImageStat.pyi +++ b/stubs/Pillow/PIL/ImageStat.pyi @@ -3,6 +3,11 @@ from _typeshed import Incomplete class Stat: h: Incomplete bands: Incomplete + count: list[int] + mean: list[float] + rms: list[float] + stddev: list[float] + var: list[float] def __init__(self, image_or_list, mask: Incomplete | None = None) -> None: ... def __getattr__(self, id: str): ...