parameters: (self)
return_statement: return fragment
docstring: Return the final fragment
docstring_summary: Return the final fragment
docstring_tokens: Return the final fragment
function: def getFragment(self):
          "Return the final fragment"
          # assert self.innerHTML
          fragment = self.fragmentClass()
          self.openElements[0].reparentChildren(fragment)
          return fragment
function_tokens: def getFragment ( self ) : # assert self.innerHTML fragment = self . fragmentClass ( ) self . openElements [ 0 ] . reparentChildren ( fragment ) return fragment