Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mscuthbert committed Jan 3, 2024
1 parent 4d4c8fa commit ecb849e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions music21/note.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)):
Expand Down

0 comments on commit ecb849e

Please sign in to comment.