The elevation of one attribute to the status of __str__() was always
arbitrary in Abjad. Note, too, that Python's dataclass decorator
equips classes with a __repr__() but not a __str__().
Use a specific attribute on each object instead of str(). Or use repr().
BREAKING CHANGE.
REMOVED:
The elevation of one attribute to the status of
__str__()
was always arbitrary in Abjad. Note, too, that Python'sdataclass
decorator equips classes with a__repr__()
but not a__str__()
.Use a specific attribute on each object instead of
str()
. Or userepr()
.Closes #1434.