#NEWLINE# def _print_Order( self , expr ) : #NEWLINE# #INDENT# if ( all ( ( ( p is S . Zero ) for p in expr . point ) ) or ( not len ( expr . variables ) ) ) : #NEWLINE# #INDENT# if ( len ( expr . variables ) <= 1 ) : #NEWLINE# #INDENT# return ( 'O(%s)' % self . _print ( expr . expr ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( 'O(%s)' % self . stringify ( ( ( expr . expr , ) + expr . variables ) , ', ' , 0 ) ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# return ( 'O(%s)' % self . stringify ( expr . args , ', ' , 0 ) )