Home
last modified time | relevance | path

Searched refs:pprint (Results 1 – 25 of 110) sorted by relevance

12345

/third_party/python/Lib/test/
Dtest_pprint.py7 import pprint
133 pp = pprint.PrettyPrinter()
134 pp = pprint.PrettyPrinter(indent=4, width=40, depth=5,
136 pp = pprint.PrettyPrinter(4, 40, 5, io.StringIO())
137 pp = pprint.PrettyPrinter(sort_dicts=False)
139 pp = pprint.PrettyPrinter(4, 40, 5, io.StringIO(), True)
140 self.assertRaises(ValueError, pprint.PrettyPrinter, indent=-1)
141 self.assertRaises(ValueError, pprint.PrettyPrinter, depth=0)
142 self.assertRaises(ValueError, pprint.PrettyPrinter, depth=-1)
143 self.assertRaises(ValueError, pprint.PrettyPrinter, width=0)
[all …]
Dtest_sys_setprofile.py2 import pprint
96 % (pprint.pformat(expected), pprint.pformat(events)))
414 import pprint
415 pprint.pprint(capture_events(callable))
Dmake_ssl_certs.py5 import pprint
223 pprint.pprint(_ssl._test_decode_cert(path))
/third_party/PyYAML/tests/lib/
Dtest_structure.py3 import pprint
56 pprint.pprint(nodes1)
58 pprint.pprint(nodes2)
86 pprint.pprint(events1)
88 pprint.pprint(events2)
104 pprint.pprint(events1)
106 pprint.pprint(events2)
138 pprint.pprint(nodes1)
140 pprint.pprint(nodes2)
190 pprint.pprint(native1)
[all …]
Dtest_representer.py4 import pprint
33 pprint.pprint(native1)
35 pprint.pprint(native2)
Dtest_yaml_ext.py3 import types, pprint, tempfile, sys, os
152 pprint.pprint(py_tokens)
154 pprint.pprint(c_tokens)
185 pprint.pprint(py_events)
187 pprint.pprint(c_events)
228 pprint.pprint(events)
230 pprint.pprint(py_events)
232 pprint.pprint(c_events)
Dtest_tokens.py3 import pprint
73 pprint.pprint(tokens)
Dtest_resolver.py3 import pprint
22 pprint.pprint(node.value)
Dtest_constructor.py3 import pprint
280 pprint.pprint(native1)
282 pprint.pprint(native2)
Dtest_appliance.py2 import sys, os, os.path, types, traceback, pprint
102 pprint.pprint(arg, stream=sys.stdout)
/third_party/python/Lib/lib2to3/pgen2/
Dgrammar.py117 from pprint import pprint
119 pprint(self.symbol2number)
121 pprint(self.number2symbol)
123 pprint(self.states)
125 pprint(self.dfas)
127 pprint(self.labels)
/third_party/python/Doc/library/
Dpprint.rst1 :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
34 The :mod:`pprint` module defines one class:
87 >>> import pprint
90 >>> pp = pprint.PrettyPrinter(indent=4)
91 >>> pp.pprint(stuff)
98 >>> pp = pprint.PrettyPrinter(width=41, compact=True)
99 >>> pp.pprint(stuff)
[all …]
/third_party/python/Doc/includes/
Ddbpickle.py51 import pprint
73 pprint.pprint(memos)
83 pprint.pprint(memos)
/third_party/node/tools/gyp/pylib/gyp/generator/
Dgypd.py35 import pprint
88 pprint.pprint(data[input_file], output)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
Dgypd.py37 import pprint
93 pprint.pprint(data[input_file], output)
/third_party/python/Tools/scripts/
Dimport_diagnostics.py6 from pprint import pprint
12 pprint(getattr(sys, name))
/third_party/flutter/skia/tools/
DBUILD_simulator.py15 import pprint
97 pprint.pprint(value, out)
/third_party/skia/tools/
DBUILD_simulator.py15 import pprint
97 pprint.pprint(value, out)
/third_party/mindspore/mindspore/lite/tools/dataset/cropper/
Dbuild_lib.py22 from pprint import pprint
103 pprint(sorted(to_be_removed))
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/model_utils/
Dconfig.py21 from pprint import pprint, pformat
122 pprint(default)
/third_party/python/Tools/peg_generator/pegen/
Dfirst_sets.py4 import pprint
148 pprint.pprint(firs_sets)
/third_party/skia/third_party/externals/angle2/infra/specs/
Dgenerate_test_spec_json.py13 import pprint
135 pp = pprint.PrettyPrinter(indent=2)
/third_party/python/Lib/test/test_asyncio/
Dfunctional.py5 import pprint
38 pprint.pprint(self.__unhandled_exceptions)
/third_party/python/Doc/tools/
Dsusp-ignored.csv192 library/pprint,,::,"'Programming Language :: Python :: 2.6',"
193 library/pprint,,::,"'Programming Language :: Python :: 2.7',"
194 library/pprint,,::,"'classifiers': ['Development Status :: 3 - Alpha',"
195 library/pprint,,::,"'Intended Audience :: Developers',"
196 library/pprint,,::,"'License :: OSI Approved :: MIT License',"
197 library/pprint,,::,"'Programming Language :: Python :: 2',"
198 library/pprint,,::,"'Programming Language :: Python :: 3',"
199 library/pprint,,::,"'Programming Language :: Python :: 3.2',"
200 library/pprint,,::,"'Programming Language :: Python :: 3.3',"
201 library/pprint,,::,"'Programming Language :: Python :: 3.4',"
[all …]
/third_party/python/Lib/idlelib/
Dundo.py41 from pprint import pprint
42 pprint(self.undolist[:self.pointer])
47 pprint(self.undolist[self.pointer:])

12345