Skip to content

Commit

Permalink
Correct docstring of AlternateSubstStatement (#3735)
Browse files Browse the repository at this point in the history
  • Loading branch information
lianghai authored Jan 7, 2025
1 parent ef07e3b commit b497b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/fontTools/feaLib/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,8 @@ def asFea(self, indent=""):
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)
Expand Down

0 comments on commit b497b5d

Please sign in to comment.