#NEWLINE# def _find_tree_width( self , doc ) : #NEWLINE# #INDENT# if ( not isinstance ( base , ClassDoc ) ) : #NEWLINE# #INDENT# return 2 #NEWLINE# #UNINDENT# width = 2 #NEWLINE# for base in doc . bases : #NEWLINE# #INDENT# width = max ( width , ( self . _find_tree_width ( base ) + 2 ) ) #NEWLINE# #UNINDENT# return width