(self, wrap_inside)
| 248 | replaceWithChildren = unwrap # BS3 |
| 249 | |
| 250 | def wrap(self, wrap_inside): |
| 251 | me = self.replace_with(wrap_inside) |
| 252 | wrap_inside.append(me) |
| 253 | return wrap_inside |
| 254 | |
| 255 | def extract(self): |
| 256 | """Destructively rips this element out of the tree.""" |