def __repr__(self):
    s = '{name}(\n{modstr}\n)'
    modstr = '\n'.join(['  ({key}): {block}'.format(key=key, block=_indent(block.__repr__(), 2)) for (key, block) in enumerate(self._children) if isinstance(block, Block)])
    return s.format(name=self.__class__.__name__, modstr=modstr)
def __repr__(self):
    s = '{name}(\n{modstr}\n)'
    modstr = '\n'.join(['  ({key}): {block}'.format(key=key, block=_indent(block.__repr__(), 2)) for (key, block) in enumerate(self._children) if isinstance(block, Block)])
    return s.format(name=self.__class__.__name__, modstr=modstr)