Correct docstring of AlternateSubstStatement (#3735)

This commit is contained in:
梁海 Liang Hai 2025-01-07 08:31:08 +01:00 committed by GitHub
parent ef07e3b2cc
commit b497b5de60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)