From ecb849e24ea1d2faaa6b5df8dfbdb535f57225d9 Mon Sep 17 00:00:00 2001 From: Michael Scott Asato Cuthbert Date: Wed, 3 Jan 2024 10:43:45 -1000 Subject: [PATCH] lint --- music21/note.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/music21/note.py b/music21/note.py index 466046399..358116bb0 100644 --- a/music21/note.py +++ b/music21/note.py @@ -1298,7 +1298,7 @@ def volume(self, value: None|volume.Volume|int|float): self._setVolume(value) @property - def storedInstrument(self) -> instrument.Instrument | None: + def storedInstrument(self) -> instrument.Instrument|None: ''' Get or set the :class:`~music21.instrument.Instrument` that should be used to play this note, overriding whatever @@ -1317,7 +1317,7 @@ def storedInstrument(self) -> instrument.Instrument | None: return self._storedInstrument @storedInstrument.setter - def storedInstrument(self, newValue: instrument.Instrument | None): + def storedInstrument(self, newValue: instrument.Instrument|None): if (newValue is not None and (not hasattr(newValue, 'classSet') or 'music21.instrument.Instrument' not in newValue.classSet)):