def __add__(self, value):
        """Enable the '+' operator for Compositions.

        Notes, note strings, NoteContainers, Bars and Tracks are accepted.
        """
        if hasattr(value, 'bars'):
            return self.add_track(value)
        else:
            return self.add_note(value)
def __add__ ( self , value ) : if hasattr ( value , 'bars' ) : return self . add_track ( value ) else : return self . add_note ( value )
Enable the '+' operator for Compositions.

        Notes, note strings, NoteContainers, Bars and Tracks are accepted.