diff --git a/src/PIL/_typing.py b/src/PIL/_typing.py index 8b0fce6416a..31b304d393d 100644 --- a/src/PIL/_typing.py +++ b/src/PIL/_typing.py @@ -24,8 +24,7 @@ def __class_getitem__(cls, item: Any) -> type[bool]: class SupportsRead(Protocol[_T_co]): - def read(self, __length: int = ...) -> _T_co: - ... + def read(self, __length: int = ...) -> _T_co: ... FileDescriptor = int