#NEWLINE# def __new__( cls , iterable ) : #NEWLINE# #INDENT# transformed = [ ] #NEWLINE# for item in iterable : #NEWLINE# #INDENT# if ( not isinstance ( item , OrderBy ) ) : #NEWLINE# #INDENT# item = OrderBy ( item ) #NEWLINE# #UNINDENT# transformed . append ( item ) #NEWLINE# #UNINDENT# return super ( OrderByTuple , cls ) . __new__ ( cls , transformed )