From 1b8b2dbf332110dffd91c4b2dcfbfbaf8553b6f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Kala?= Date: Sun, 12 Jul 2015 17:42:55 +0300 Subject: [PATCH] Update Image.py --- PIL/Image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PIL/Image.py b/PIL/Image.py index 28289d0d9..861599bf7 100644 --- a/PIL/Image.py +++ b/PIL/Image.py @@ -2265,7 +2265,7 @@ def open(fp, mode="r"): :py:meth:`~PIL.Image.Image.load` method). See :py:func:`~PIL.Image.new`. - :param file: A filename (string) or a file object. The file object + :param fp: A filename (string) or a file object. The file object must implement :py:meth:`~file.read`, :py:meth:`~file.seek`, and :py:meth:`~file.tell` methods, and be opened in binary mode. :param mode: The mode. If given, this argument must be "r".