Return a list with all the note names in the current container. Every name will only be mentioned once.
(self)
| 290 | return self |
| 291 | |
| 292 | def get_note_names(self): |
| 293 | """Return a list with all the note names in the current container. |
| 294 | |
| 295 | Every name will only be mentioned once. |
| 296 | """ |
| 297 | res = [] |
| 298 | for n in self.notes: |
| 299 | if n.name not in res: |
| 300 | res.append(n.name) |
| 301 | return res |
| 302 | |
| 303 | def __repr__(self): |
| 304 | """Return a nice and clean string representing the note container.""" |