From 7fafd09bf5a51886033d9e3c1332c3d6b159c2a7 Mon Sep 17 00:00:00 2001 From: Robin Lewis Date: Mon, 23 Feb 2015 12:23:01 +0000 Subject: [PATCH] Document filename parameter as deprecated in truetype() --- PIL/ImageFont.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PIL/ImageFont.py b/PIL/ImageFont.py index 37a3fd175..cf1922c9e 100644 --- a/PIL/ImageFont.py +++ b/PIL/ImageFont.py @@ -224,6 +224,7 @@ def truetype(font=None, size=10, index=0, encoding="", filename=None): Symbol), "ADOB" (Adobe Standard), "ADBE" (Adobe Expert), and "armn" (Apple Roman). See the FreeType documentation for more information. + :param filename: Deprecated. Please use font instead. :return: A font object. :exception IOError: If the file could not be read. """