#NEWLINE# def pprint( obj , verbose = False , max_width = 79 , newline = '\n' ) : #NEWLINE# #INDENT# '\n    Like `pretty` but print to stdout.\n    ' #NEWLINE# printer = RepresentationPrinter ( sys . stdout , verbose , max_width , newline ) #NEWLINE# printer . pretty ( obj ) #NEWLINE# printer . flush ( ) #NEWLINE# sys . stdout . write ( newline ) #NEWLINE# sys . stdout . flush ( )