Merge pull request #3860 from olt/non-ascii-quotes

Replace non-ascii quotes from docstring
This commit is contained in:
Hugo 2019-06-19 12:03:14 +03:00 committed by GitHub
commit 2334040f56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -287,8 +287,8 @@ class FreeTypeFont(object):
""" """
Create a bitmap for the text. Create a bitmap for the text.
If the font uses antialiasing, the bitmap should have mode L and use a If the font uses antialiasing, the bitmap should have mode ``L`` and use a
maximum value of 255. Otherwise, it should have mode 1. maximum value of 255. Otherwise, it should have mode ``1``.
:param text: Text to render. :param text: Text to render.
:param mode: Used by some graphics drivers to indicate what mode the :param mode: Used by some graphics drivers to indicate what mode the
@ -348,8 +348,8 @@ class FreeTypeFont(object):
""" """
Create a bitmap for the text. Create a bitmap for the text.
If the font uses antialiasing, the bitmap should have mode L and use a If the font uses antialiasing, the bitmap should have mode ``L`` and use a
maximum value of 255. Otherwise, it should have mode 1. maximum value of 255. Otherwise, it should have mode ``1``.
:param text: Text to render. :param text: Text to render.
:param mode: Used by some graphics drivers to indicate what mode the :param mode: Used by some graphics drivers to indicate what mode the