improve warning wording

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
nulano 2020-06-20 12:00:30 +01:00 committed by GitHub
parent 5e8854b8db
commit 2155c16ae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
) )