mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-27 21:44:14 +03:00
Use triple-quoted docstrings
This commit is contained in:
parent
d32d96fab1
commit
935bdfa516
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user