From 935bdfa516cd7ce19ad240bb96a55de4f18f46c9 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 10 Apr 2022 17:47:32 +0300 Subject: [PATCH] Use triple-quoted docstrings --- src/PIL/ImageFont.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PIL/ImageFont.py b/src/PIL/ImageFont.py index f21b6de71..f73d4a30e 100644 --- a/src/PIL/ImageFont.py +++ b/src/PIL/ImageFont.py @@ -93,7 +93,7 @@ except ImportError: class ImageFont: - "PIL font wrapper" + """PIL font wrapper""" def _load_pilfont(self, filename): @@ -181,7 +181,7 @@ class ImageFont: class FreeTypeFont: - "FreeType font wrapper (requires _imagingft service)" + """FreeType font wrapper (requires _imagingft service)""" def __init__(self, font=None, size=10, index=0, encoding="", layout_engine=None): # FIXME: use service provider instead @@ -775,7 +775,7 @@ class FreeTypeFont: class TransposedFont: - "Wrapper for writing rotated or mirrored text" + """Wrapper for writing rotated or mirrored text""" def __init__(self, font, orientation=None): """