'End a group. See `begin_group` for more details.'

def end_group(self, dedent=0, close=''):

    self.indentation -= dedent
    group = self.group_stack.pop()
    if (not group.breakables):
        self.group_queue.remove(group)
    if close:
        self.text(close)
