Searched refs:prettify (Results 1 – 6 of 6) sorted by relevance
120 indent_value = 2 if args.prettify else None
77 print(soup.prettify())
468 print(soup.prettify())
140 * The prettify() method now leaves the contents of <pre> tags337 * Made prettify() return Unicode by default, so it will look nice on912 picture of how Beautiful Soup parses it, with the Tag.prettify()
1157 def prettify(self, encoding=None, formatter="minimal"): member in Tag
1468 soup.div.prettify())1472 pretty = soup.prettify(formatter = lambda x: x.upper())1477 self.assertEqual(str, type(soup.prettify()))1481 self.assertEqual(bytes, type(soup.prettify("utf-8")))