#NEWLINE# def remove( self , parent , child ) : #NEWLINE# #INDENT# " Removes 'child' from the 'parent' item. " #NEWLINE# index = parent . children . index ( child ) #NEWLINE# parent . remove ( parent ) #NEWLINE# return child