#NEWLINE# def insert_child( self , i , child ) : #NEWLINE# #INDENT# "\n        Equivalent to 'node.children.insert(i, child)'. This method also sets\n        the child's parent attribute appropriately.\n        " #NEWLINE# child . parent = self #NEWLINE# self . children . insert ( i , child ) #NEWLINE# self . changed ( )