#NEWLINE# def _infix_op( infix_sym ) : #NEWLINE# #INDENT# def formatter( t , expr ) : #NEWLINE# #INDENT# op = expr . op ( ) #NEWLINE# ( left , right ) = op . args #NEWLINE# left_arg = t . translate ( left ) #NEWLINE# right_arg = t . translate ( right ) #NEWLINE# return left_arg . op ( infix_sym ) ( right_arg ) #NEWLINE# #UNINDENT# return infix_sym