From 3581600bf34d98f4f50684037459cd7c52e3054b Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 26 Oct 2020 06:58:20 +1100 Subject: [PATCH] Clarified that "text" must be a string [ci skip] --- docs/reference/ImageDraw.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/ImageDraw.rst b/docs/reference/ImageDraw.rst index 6052d2833..57d1c2dda 100644 --- a/docs/reference/ImageDraw.rst +++ b/docs/reference/ImageDraw.rst @@ -296,7 +296,7 @@ Methods Draws the string at the given position. :param xy: The anchor coordinates of the text. - :param text: Text to be drawn. If it contains any newline characters, + :param text: String to be drawn. If it contains any newline characters, the text is passed on to :py:meth:`~PIL.ImageDraw.ImageDraw.multiline_text`. :param fill: Color to use for the text. @@ -362,7 +362,7 @@ Methods Draws the string at the given position. :param xy: The anchor coordinates of the text. - :param text: Text to be drawn. + :param text: String to be drawn. :param fill: Color to use for the text. :param font: An :py:class:`~PIL.ImageFont.ImageFont` instance.