#NEWLINE# def remove_widget( self , widget ) : #NEWLINE# #INDENT# if self . container : #NEWLINE# #INDENT# self . container . remove_widget ( widget ) #NEWLINE# #UNINDENT# super ( AccordionItem , self ) . remove_widget ( widget )