Searched refs:replace_with (Results 1 – 4 of 4) sorted by relevance
219 def replace_with(self, replace_with): argument224 if replace_with is self:226 if replace_with is self.parent:231 old_parent.insert(my_index, replace_with)233 replaceWith = replace_with # BS3250 me = self.replace_with(wrap_inside)
122 replace_with = """123 value = value.replace('"', replace_with)
769 new_a = a.replace_with(soup.c)785 self.assertRaises(ValueError, a.replace_with, soup.c)791 soup.c.replace_with(c)797 self.assertRaises(ValueError, soup.b.replace_with, soup.a)821 soup.find(text="Argh!").replace_with("Hooray!")951 show.replace_with(no)965 soup.b.replace_with(soup.c)971 soup.c.replace_with(soup.b)982 remove_tag.replace_with(move_tag)
180 old_element.replace_with(new_element)246 old_node.replace_with(new_str)