(self)
return fragment
Return the final fragment
Return the final fragment
Return the final fragment
def getFragment(self):
        """Return the final fragment"""
        # assert self.innerHTML
        fragment = self.fragmentClass()
        self.openElements[0].reparentChildren(fragment)
        return fragment
def getFragment ( self ) : # assert self.innerHTML fragment = self . fragmentClass ( ) self . openElements [ 0 ] . reparentChildren ( fragment ) return fragment