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

Method do_p

Lib/pdb.py:1188–1195  ·  view source on GitHub ↗

p expression Print the value of the expression.

(self, arg)

Source from the content-addressed store, hash-verified

1186 return _rstr('** raised %s **' % err)
1187
1188 def do_p(self, arg):
1189 """p expression
1190 Print the value of the expression.
1191 """
1192 try:
1193 self.message(repr(self._getval(arg)))
1194 except:
1195 pass
1196
1197 def do_pp(self, arg):
1198 """pp expression

Callers

nothing calls this directly

Calls 3

messageMethod · 0.95
_getvalMethod · 0.95
reprFunction · 0.85

Tested by

no test coverage detected