#NEWLINE# @ contextmanager #NEWLINE# def indent( self , indent ) : #NEWLINE# #INDENT# 'with statement support for indenting/dedenting.' #NEWLINE# self . indentation += indent #NEWLINE# try : #NEWLINE# #INDENT# ( yield ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# self . indentation -= indent