MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / do_p

Method do_p

tools/python-3.11.9-amd64/Lib/pdb.py:1268–1272  ·  view source on GitHub ↗

p expression Print the value of the expression.

(self, arg)

Source from the content-addressed store, hash-verified

1266 return _rstr(f"*** repr({expr}) failed: {self._format_exc(e)} ***")
1267
1268 def do_p(self, arg):
1269 """p expression
1270 Print the value of the expression.
1271 """
1272 self._msg_val_func(arg, repr)
1273
1274 def do_pp(self, arg):
1275 """pp expression

Callers

nothing calls this directly

Calls 1

_msg_val_funcMethod · 0.95

Tested by

no test coverage detected