From 123cb0d1556a3d3a530bb979bd4ce3b06a7d60b1 Mon Sep 17 00:00:00 2001 From: Michael Scott Asato Cuthbert Date: Wed, 18 Sep 2024 12:39:09 -1000 Subject: [PATCH] I think affectedTokens is always m21obj? --- music21/tinyNotation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music21/tinyNotation.py b/music21/tinyNotation.py index e4c15633a..65b3b69de 100644 --- a/music21/tinyNotation.py +++ b/music21/tinyNotation.py @@ -276,7 +276,7 @@ class State: autoExpires: typing.Literal[False]|int = False def __init__(self, parent: Converter|None = None, stateInfo: str|None = None): - self.affectedTokens = [] + self.affectedTokens: list[Music21Object] = [] self.parent: Converter|None = parent self.stateInfo: str|None = stateInfo # print('Adding state', self, parent.activeStates)