#NEWLINE# def get_multiline( self , f , m ) : #NEWLINE# #INDENT# content = [ ] #NEWLINE# next_line = '' #NEWLINE# while ( not re . search ( '^}' , m ) ) : #NEWLINE# #INDENT# content . append ( next_line ) #NEWLINE# try : #NEWLINE# #INDENT# next_line = next ( f ) #NEWLINE# #UNINDENT# except StopIteration : #NEWLINE# #INDENT# next_line = None #NEWLINE# break #NEWLINE# #UNINDENT# #UNINDENT# content = '' . join ( content ) #NEWLINE# return ( content , next_line )