#NEWLINE# def _find_super_classes( klass ) : #NEWLINE# #INDENT# if hasattr ( klass , '__mro__' ) : #NEWLINE# #INDENT# for k in klass . __mro__ : #NEWLINE# #INDENT# ( yield k ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# for base in klass . __bases__ : #NEWLINE# #INDENT# ( yield base ) #NEWLINE# for k in _find_super_classes ( base ) : #NEWLINE# #INDENT# ( yield k )