From 22975954c15d77ad311dcf828f607d983f9e3f08 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 21 Nov 2023 22:07:36 +1100 Subject: [PATCH] args may be a string or None --- 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 621ac5a4ecc..d4f2a7b6d54 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -212,7 +212,7 @@ class _Tile(NamedTuple): encoder_name: str extents: tuple[int, int, int, int] offset: int - args: tuple + args: tuple | str | None # --------------------------------------------------------------------