#NEWLINE# def unwrap( self ) : #NEWLINE# #INDENT# my_parent = self . parent #NEWLINE# my_index = self . parent . index ( self ) #NEWLINE# self . extract ( ) #NEWLINE# for child in reversed ( self . contents [ : ] ) : #NEWLINE# #INDENT# my_parent . insert ( my_index , child ) #NEWLINE# #UNINDENT# return self