From 56a43a5fa77d5c508587ee7d06c59565ebbba5e1 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 21 Jul 2020 20:42:11 +1000 Subject: [PATCH] Fixed typo --- src/PIL/Image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 03829d9a9..cc1cd56a5 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -2869,7 +2869,7 @@ def open(fp, mode="r"): :param fp: A filename (string), pathlib.Path object or a file object. The file object must implement ``file.read``, - ``file.seek`, and ``file.tell`` methods, + ``file.seek``, and ``file.tell`` methods, and be opened in binary mode. :param mode: The mode. If given, this argument must be "r". :returns: An :py:class:`~PIL.Image.Image` object.