MCPcopy Index your code
hub / github.com/RustPython/RustPython / do_pp

Method do_pp

Lib/pdb.py:1197–1204  ·  view source on GitHub ↗

pp expression Pretty-print the value of the expression.

(self, arg)

Source from the content-addressed store, hash-verified

1195 pass
1196
1197 def do_pp(self, arg):
1198 """pp expression
1199 Pretty-print the value of the expression.
1200 """
1201 try:
1202 self.message(pprint.pformat(self._getval(arg)))
1203 except:
1204 pass
1205
1206 complete_print = _complete_expression
1207 complete_p = _complete_expression

Callers

nothing calls this directly

Calls 3

messageMethod · 0.95
_getvalMethod · 0.95
pformatMethod · 0.80

Tested by

no test coverage detected