Searched refs:pprint (Results 1 – 25 of 178) sorted by relevance
12345678
/external/python/cpython3/Lib/test/ |
D | test_pprint.py | 6 import pprint 80 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 …]
|
/external/python/cpython2/Lib/test/ |
D | test_pprint.py | 1 import pprint 57 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 …]
|
/external/python/google-api-python-client/samples/prediction/ |
D | prediction.py | 42 import pprint 92 pprint.pprint(result) 99 pprint.pprint(start) 117 pprint.pprint(status) 124 pprint.pprint(result) 133 pprint.pprint(result)
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_queue.py | 6 from pprint import pprint 37 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 …]
|
/external/python/cpython2/Doc/library/ |
D | pprint.rst | 1 :mod:`pprint` --- Data pretty printer 4 .. module:: pprint 9 **Source code:** :source:`Lib/pprint.py` 13 The :mod:`pprint` module provides a capability to "pretty-print" arbitrary 34 The :mod:`pprint` module defines one class: 57 >>> import pprint 60 >>> pp = pprint.PrettyPrinter(indent=4) 61 >>> pp.pprint(stuff) 70 >>> pp = pprint.PrettyPrinter(depth=6) 71 >>> pp.pprint(tup) [all …]
|
/external/python/google-api-python-client/samples/coordinate/ |
D | coordinate.py | 43 import pprint 67 pprint.pprint(jobs_result) 85 pprint.pprint(insert_result) 93 pprint.pprint(update_result)
|
/external/python/cpython2/Lib/lib2to3/pgen2/ |
D | grammar.py | 131 from pprint import pprint 133 pprint(self.symbol2number) 135 pprint(self.number2symbol) 137 pprint(self.states) 139 pprint(self.dfas) 141 pprint(self.labels)
|
/external/python/cpython3/Lib/lib2to3/pgen2/ |
D | grammar.py | 130 from pprint import pprint 132 pprint(self.symbol2number) 134 pprint(self.number2symbol) 136 pprint(self.states) 138 pprint(self.dfas) 140 pprint(self.labels)
|
/external/python/cpython3/Doc/library/ |
D | pprint.rst | 1 :mod:`pprint` --- Data pretty printer 4 .. module:: pprint 10 **Source code:** :source:`Lib/pprint.py` 14 The :mod:`pprint` module provides a capability to "pretty-print" arbitrary 28 The :mod:`pprint` module defines one class: 58 >>> import pprint 61 >>> pp = pprint.PrettyPrinter(indent=4) 62 >>> pp.pprint(stuff) 69 >>> pp = pprint.PrettyPrinter(width=41, compact=True) 70 >>> pp.pprint(stuff) [all …]
|
/external/python/google-api-python-client/samples/urlshortener/ |
D | urlshortener.py | 39 import pprint 56 pprint.pprint(resp) 62 pprint.pprint(resp)
|
/external/python/google-api-python-client/samples/audit/ |
D | audit.py | 40 import pprint 61 pprint.pprint(activity_list) 73 pprint.pprint(activity_list)
|
/external/python/cpython3/Doc/includes/ |
D | dbpickle.py | 51 import pprint 73 pprint.pprint(memos) 83 pprint.pprint(memos)
|
/external/autotest/client/cros/scripts/ |
D | device | 7 import pprint 46 pprint.pprint( 50 pprint.pprint({property_key:
|
D | profile | 7 import pprint 96 pprint.pprint(shill.dbus2primitive(profile.GetEntry(ident)), 110 pprint.pprint(properties, indent=2)
|
/external/python/google-api-python-client/samples/groupssettings/ |
D | groupsettings.py | 34 import pprint 80 pprint.pprint(g) 99 pprint.pprint(g1)
|
/external/clang/bindings/python/examples/cindex/ |
D | cindex-dump.py | 58 from pprint import pprint 82 pprint(('diags', map(get_diag_info, tu.diagnostics))) 83 pprint(('nodes', get_info(tu.cursor)))
|
/external/python/google-api-python-client/samples/customsearch/ |
D | main.py | 25 import pprint 41 pprint.pprint(res)
|
/external/python/google-api-python-client/samples/searchforshopping/ |
D | basic.py | 8 import pprint 28 pprint.pprint(response)
|
D | fulltextsearch.py | 8 import pprint 36 pprint.pprint(response)
|
D | restricting.py | 9 import pprint 40 pprint.pprint(response)
|
D | ranking.py | 8 import pprint 42 pprint.pprint(response)
|
D | crowding.py | 8 import pprint 44 pprint.pprint(response)
|
D | pagination.py | 8 import pprint 43 pprint.pprint(response)
|
/external/python/google-api-python-client/samples/service_account/ |
D | tasks.py | 33 import pprint 57 pprint.pprint(lists)
|
/external/python/cpython3/Tools/scripts/ |
D | import_diagnostics.py | 6 from pprint import pprint 12 pprint(getattr(sys, name))
|
12345678