Lines Matching refs:PrettyPrinter
134 pp = pprint.PrettyPrinter()
135 pp = pprint.PrettyPrinter(indent=4, width=40, depth=5,
137 pp = pprint.PrettyPrinter(4, 40, 5, io.StringIO())
138 pp = pprint.PrettyPrinter(sort_dicts=False)
140 pp = pprint.PrettyPrinter(4, 40, 5, io.StringIO(), True)
141 self.assertRaises(ValueError, pprint.PrettyPrinter, indent=-1)
142 self.assertRaises(ValueError, pprint.PrettyPrinter, depth=0)
143 self.assertRaises(ValueError, pprint.PrettyPrinter, depth=-1)
144 self.assertRaises(ValueError, pprint.PrettyPrinter, width=0)
148 pp = pprint.PrettyPrinter()
157 # PrettyPrinter methods
168 pprint.PrettyPrinter().pprint(value)
178 pp = pprint.PrettyPrinter()
197 # PrettyPrinter methods
205 pp = pprint.PrettyPrinter()
212 # PrettyPrinter methods
1226 class DottedPrettyPrinter(pprint.PrettyPrinter):
1235 return pprint.PrettyPrinter.format(