mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-20 12:14:46 +03:00
Corrected return values in docstring
This commit is contained in:
parent
4fc553ccfb
commit
a568eecc82
|
@ -50,7 +50,7 @@ def show(image, title=None, **options):
|
||||||
:param image: An image object.
|
:param image: An image object.
|
||||||
:param title: Optional title. Not all viewers can display the title.
|
:param title: Optional title. Not all viewers can display the title.
|
||||||
:param \**options: Additional viewer options.
|
:param \**options: Additional viewer options.
|
||||||
:returns: ``True`` if a suitable viewer was found, ``False`` otherwise.
|
:returns: ``1`` if a suitable viewer was found, ``0`` otherwise.
|
||||||
"""
|
"""
|
||||||
for viewer in _viewers:
|
for viewer in _viewers:
|
||||||
if viewer.show(image, title=title, **options):
|
if viewer.show(image, title=title, **options):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user