fix docs formatting

This commit is contained in:
nulano 2020-10-12 05:08:58 +01:00
parent be4d5221ad
commit 845bfda3ff

View File

@ -411,6 +411,7 @@ Methods
the ascender line instead of the top, see :ref:`text-anchors`.
If you wish to measure text height from the top, it is recommended
to use :meth:`textbbox` with ``anchor='lt'`` instead.
:param text: Text to be measured. If it contains any newline characters,
the text is passed on to :py:meth:`~PIL.ImageDraw.ImageDraw.multiline_textsize`.
:param font: An :py:class:`~PIL.ImageFont.ImageFont` instance.