def __repr__ ( self ):
        result  = []
        items   = ',\n'.join( [ item.__repr__() for item in self.content ] )
        if len( items ) > 0:
            result.append( items )

        options = self._repr_options( 'orientation', 'show_border',
                      'show_labels', 'show_left', 'selected', 'id', 'object',
                      'label', 'style', 'layout', 'style_sheet' )
        if options is not None:
            result.append( options )

        content = ',\n'.join( result )
        if len( content ) == 0:
            return self.__class__.__name__ + '()'

        return '%s(\n%s\n)' % (
               self.__class__.__name__, self._indent( content ) )

    #---------------------------------------------------------------------------
    #  Property getters/setters for width/height attributes
    #---------------------------------------------------------------------------
Cascaded deletions of m2m relations issue queries on the right database
dataset/ETHPy150Open enthought/traitsui/traitsui/group.py/Group.__repr__--crossover with--dataset/ETHPy150Open django/django/tests/multiple_database/tests.py/QueryTestCase.test_m2m_deletion