From a8d819c442cbcee9e22d7f27e667a43e2adea55a Mon Sep 17 00:00:00 2001 From: wiredfool Date: Tue, 18 Feb 2025 23:01:34 +0000 Subject: [PATCH] Mypy error -- can't have a bare tuple So you don't even get that typing. --- src/PIL/Image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index d52985da0..478f8289b 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -3219,7 +3219,7 @@ class SupportsArrowArrayInterface(Protocol): # raise NotImplementedError() # old not typed definition. - def __arrow_c_array__(self, requested_schema = None) -> tuple: + def __arrow_c_array__(self, requested_schema = None): raise NotImplementedError()