mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 18:36:17 +03:00
improve warning wording
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
5e8854b8db
commit
2155c16ae0
|
@ -2177,7 +2177,7 @@ class Image:
|
||||||
|
|
||||||
if command is not None:
|
if command is not None:
|
||||||
warnings.warn(
|
warnings.warn(
|
||||||
"The command parameter was deprecated and will be removed in a future"
|
"The command parameter is deprecated and will be removed in a future"
|
||||||
"release. Use a subclass of ImageShow.Viewer instead.",
|
"release. Use a subclass of ImageShow.Viewer instead.",
|
||||||
DeprecationWarning,
|
DeprecationWarning,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user