code: def wrap(self, other):
          
          if other.childs:
              raise TagError(self, "Wrapping in a non empty Tag is forbidden.")
          if self.parent:
              self.before(other)
              self.parent.pop(self._own_index)
          other.append(self)
          return self
docs: Wraps this element inside another empty tag.