Enable the '+' operator on Bars.
(self, note_container)
| 216 | return res |
| 217 | |
| 218 | def __add__(self, note_container): |
| 219 | """Enable the '+' operator on Bars.""" |
| 220 | if self.meter[1] != 0: |
| 221 | return self.place_notes(note_container, self.meter[1]) |
| 222 | else: |
| 223 | return self.place_notes(note_container, 4) |
| 224 | |
| 225 | def __getitem__(self, index): |
| 226 | """Enable the '[]' notation on Bars to get the item at the index.""" |
nothing calls this directly
no test coverage detected