MCPcopy Index your code
hub / github.com/python/cpython / do_pp

Method do_pp

Lib/pdb.py:2148–2156  ·  view source on GitHub ↗

pp expression Pretty-print the value of the expression.

(self, arg)

Source from the content-addressed store, hash-verified

2146 self._msg_val_func(arg, repr)
2147
2148 def do_pp(self, arg):
2149 """pp expression
2150
2151 Pretty-print the value of the expression.
2152 """
2153 if not arg:
2154 self._print_invalid_arg(arg)
2155 return
2156 self._msg_val_func(arg, pprint.pformat)
2157
2158 complete_print = _complete_expression
2159 complete_p = _complete_expression

Callers

nothing calls this directly

Calls 2

_print_invalid_argMethod · 0.95
_msg_val_funcMethod · 0.95

Tested by

no test coverage detected