From abd90292798066a5641d39149b42980e7705cf75 Mon Sep 17 00:00:00 2001 From: Graham Scheaffer Date: Sun, 11 Feb 2018 15:26:13 -0600 Subject: [PATCH] command option for Image.Image.show() was not supported, but was in documentation --- src/PIL/Image.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 1a763b653..99d187941 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -1954,7 +1954,7 @@ class Image(object): if frame != 0: raise EOFError - def show(self, title=None, command=None): + def show(self, title=None): """ Displays this image. This method is mainly intended for debugging purposes. @@ -1971,10 +1971,9 @@ class Image(object): :param title: Optional title to use for the image window, where possible. - :param command: command used to show the image """ - _show(self, title=title, command=command) + _show(self, title=title) def split(self): """