'Begin a group.  If you want support for python < 2.5 which doesn\'t has
the with statement this is the preferred way:
p.begin_group(1, \'{\')
p.end_group(1, \'}\')
The python 2.5 expression would be this:
with p.group(1, \'{\', \'}\'):
The first parameter specifies the indentation for the next line (usually
the width of the opening text), the second the opening text.  All
parameters are optional.'

def begin_group(self, indent=0, open=''):

    if open:
        self.text(open)
    group = Group((self.group_stack[(-1)].depth + 1))
    self.group_stack.append(group)
    self.group_queue.enq(group)
    self.indentation += indent
