From b497b5de600d0adec78469a7f6f383557ef35b26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E6=B5=B7=20Liang=20Hai?= Date: Tue, 7 Jan 2025 08:31:08 +0100 Subject: [PATCH] Correct docstring of AlternateSubstStatement (#3735) --- Lib/fontTools/feaLib/ast.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/fontTools/feaLib/ast.py b/Lib/fontTools/feaLib/ast.py index 17c6cc3fb..5c621c13b 100644 --- a/Lib/fontTools/feaLib/ast.py +++ b/Lib/fontTools/feaLib/ast.py @@ -595,8 +595,8 @@ class MarkClassDefinition(Statement): class AlternateSubstStatement(Statement): """A ``sub ... from ...`` statement. - ``prefix``, ``glyph``, ``suffix`` and ``replacement`` should be lists of - `glyph-containing objects`_. ``glyph`` should be a `one element list`.""" + ``glyph`` and ``replacement`` should be `glyph-containing objects`_. + ``prefix`` and ``suffix`` should be lists of `glyph-containing objects`_.""" def __init__(self, prefix, glyph, suffix, replacement, location=None): Statement.__init__(self, location)