From 26b71998d2c1f50d1717cc6e621abf28749b887b Mon Sep 17 00:00:00 2001 From: Oliver Tonnhofer Date: Wed, 22 May 2019 09:12:13 +0200 Subject: [PATCH] Replace non-ascii quotes from docstring [ci skip] --- src/PIL/ImageFont.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/PIL/ImageFont.py b/src/PIL/ImageFont.py index 255f25cb5..660fed02a 100644 --- a/src/PIL/ImageFont.py +++ b/src/PIL/ImageFont.py @@ -284,8 +284,8 @@ class FreeTypeFont(object): """ Create a bitmap for the text. - If the font uses antialiasing, the bitmap should have mode “L” and use a - maximum value of 255. Otherwise, it should have mode “1”. + If the font uses antialiasing, the bitmap should have mode ``L`` and use a + maximum value of 255. Otherwise, it should have mode ``1``. :param text: Text to render. :param mode: Used by some graphics drivers to indicate what mode the @@ -335,8 +335,8 @@ class FreeTypeFont(object): """ Create a bitmap for the text. - If the font uses antialiasing, the bitmap should have mode “L” and use a - maximum value of 255. Otherwise, it should have mode “1”. + If the font uses antialiasing, the bitmap should have mode ``L`` and use a + maximum value of 255. Otherwise, it should have mode ``1``. :param text: Text to render. :param mode: Used by some graphics drivers to indicate what mode the