From 2dd848ca4f76d71271c8e635ce248a53a6d960a9 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 17 Apr 2022 08:06:28 +0300 Subject: [PATCH] Include deprecation removal date Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com> --- src/PIL/ImageTk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PIL/ImageTk.py b/src/PIL/ImageTk.py index 51a4db5af..59b3f8976 100644 --- a/src/PIL/ImageTk.py +++ b/src/PIL/ImageTk.py @@ -184,7 +184,8 @@ class PhotoImage: :param im: A PIL image. The size must match the target region. If the mode does not match, the image is converted to the mode of the bitmap image. - :param box: Deprecated. + :param box: Deprecated. This parameter will be removed in Pillow 10 + (2023-07-01). """ if box is not None: