Searched refs:pprint (Results 1 – 25 of 141) sorted by relevance
123456
6 import pprint80 pp = pprint.PrettyPrinter()81 pp = pprint.PrettyPrinter(indent=4, width=40, depth=5,83 pp = pprint.PrettyPrinter(4, 40, 5, io.StringIO())85 pp = pprint.PrettyPrinter(4, 40, 5, io.StringIO(), True)86 self.assertRaises(ValueError, pprint.PrettyPrinter, indent=-1)87 self.assertRaises(ValueError, pprint.PrettyPrinter, depth=0)88 self.assertRaises(ValueError, pprint.PrettyPrinter, depth=-1)89 self.assertRaises(ValueError, pprint.PrettyPrinter, width=0)93 pp = pprint.PrettyPrinter()[all …]
2 import pprint96 % (pprint.pformat(expected), pprint.pformat(events)))371 import pprint372 pprint.pprint(capture_events(callable))
1 import pprint57 pp = pprint.PrettyPrinter()62 self.assertFalse(pprint.isrecursive(safe),64 self.assertTrue(pprint.isreadable(safe),80 pp = pprint.PrettyPrinter()83 self.assertTrue(pprint.isrecursive(icky), "expected isrecursive")84 self.assertFalse(pprint.isreadable(icky), "expected not isreadable")95 self.assertFalse(pprint.isrecursive(safe),97 self.assertTrue(pprint.isreadable(safe),107 pp = pprint.PrettyPrinter()[all …]
2 import pprint97 % (pprint.pformat(expected), pprint.pformat(events)))373 import pprint374 pprint.pprint(capture_events(callable))
6 from pprint import pprint37 pprint(d.stat())53 pprint(d.stat())62 pprint(d.stat())73 pprint(d.stat())84 pprint(d.stat())108 pprint(d.stat())124 pprint(d.stat())134 pprint(d.stat())140 pprint(d.stat())[all …]
1 :mod:`pprint` --- Data pretty printer4 .. module:: pprint9 **Source code:** :source:`Lib/pprint.py`13 The :mod:`pprint` module provides a capability to "pretty-print" arbitrary34 The :mod:`pprint` module defines one class:57 >>> import pprint60 >>> pp = pprint.PrettyPrinter(indent=4)61 >>> pp.pprint(stuff)70 >>> pp = pprint.PrettyPrinter(depth=6)71 >>> pp.pprint(tup)[all …]
1 :mod:`pprint` --- Data pretty printer4 .. module:: pprint10 **Source code:** :source:`Lib/pprint.py`14 The :mod:`pprint` module provides a capability to "pretty-print" arbitrary28 The :mod:`pprint` module defines one class:56 >>> import pprint59 >>> pp = pprint.PrettyPrinter(indent=4)60 >>> pp.pprint(stuff)67 >>> pp = pprint.PrettyPrinter(width=41, compact=True)68 >>> pp.pprint(stuff)[all …]
126 from pprint import pprint128 pprint(self.symbol2number)130 pprint(self.number2symbol)132 pprint(self.states)134 pprint(self.dfas)136 pprint(self.labels)
127 from pprint import pprint129 pprint(self.symbol2number)131 pprint(self.number2symbol)133 pprint(self.states)135 pprint(self.dfas)137 pprint(self.labels)
51 import pprint73 pprint.pprint(memos)83 pprint.pprint(memos)
7 import pprint46 pprint.pprint(50 pprint.pprint({property_key:
7 import pprint96 pprint.pprint(shill.dbus2primitive(profile.GetEntry(ident)),110 pprint.pprint(properties, indent=2)
58 from pprint import pprint82 pprint(('diags', map(get_diag_info, tu.diagnostics)))83 pprint(('nodes', get_info(tu.cursor)))
6 from pprint import pprint12 pprint(getattr(sys, name))
22 import pprint90 print pprint.pprint(result)
7 import pprint56 print 'Keys mismatched %s' % pprint.pformat(uniq_actual_output)58 print 'Key match expected: %s' % pprint.pformat(uniq_actual_output)
23 static void pprint(int pos, unsigned char *buf, int len, const char *disasm) { in pprint() function54 pprint(pos, buf + pos, 1, "\t???"); in do_disassemble()57 pprint(pos, buf + pos, l, outline); in do_disassemble()
15 import pprint97 pprint.pprint(value, out)
19 import pprint75 pprint.pprint(hosts)
6 import pprint85 logging.debug(pprint.pprint(test))
7 import pprint46 pprint.pformat(self.base_conf))55 pprint.pformat(self.plugin_conf))
11 import pprint141 logging.debug('RPC %s returns %s.', rpc, pprint.pformat(value))168 (pprint.pformat(name), pprint.pformat(args),169 pprint.pformat(dargs)))
3 from pprint import pprint
6 import pprint86 pprint.pformat(dir(cfg_obj))))