def begin_group(self, indent=<NUM_LIT:0>, open='<STR_LIT>'):
if open:<EOL><INDENT>self.text(open)<EOL><DEDENT>group = Group(self.group_stack[-<NUM_LIT:1>].depth + <NUM_LIT:1>)<EOL>self.group_stack.append(group)<EOL>self.group_queue.enq(group)<EOL>self.indentation += indent<EOL>
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.