#NEWLINE# def insert_before( self , parent , before , child ) : #NEWLINE# #INDENT# " Inserts 'child' into 'parent' item before 'before'. " #NEWLINE# ( index , child ) = parent . insert_before ( before , child ) #NEWLINE# return ( index , index )