#NEWLINE# def _flatten( ob ) : #NEWLINE# #INDENT# result = [ ob ] #NEWLINE# i = 0 #NEWLINE# for ob in iter ( result ) : #NEWLINE# #INDENT# i += 1 #NEWLINE# result [ i : i ] = ob . __bases__ #NEWLINE# #UNINDENT# return result