Skip to content

Commit 9fe855a

Browse files
committed
Note all BuiltinFilters have a name attribute, to make Mypy happy
1 parent d4711b7 commit 9fe855a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/PIL/ImageFilter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class MultibandFilter(Filter):
4242

4343

4444
class BuiltinFilter(MultibandFilter):
45+
name: str
4546
filterargs: tuple[Any, ...]
4647

4748
def filter(self, image: _imaging.ImagingCore) -> _imaging.ImagingCore:

0 commit comments

Comments
 (0)