#NEWLINE# def shortStr( self ) : #NEWLINE# #INDENT# ascend_string = [ ( '+' if ascend_string else '-' ) for a in self . ascending ] #NEWLINE# sort_string = ',' . join ( ( '{col}{asc}' . format ( col = c , asc = a ) for ( c , a ) in zip ( self . sort_columns , ascend_string ) ) ) #NEWLINE# return ( '%s(%s)' % ( self . opname ( ) , sort_string ) )