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

Method _msg_val_func

tools/python-3.11.9-amd64/Lib/pdb.py:1252–1260  ·  view source on GitHub ↗
(self, arg, func)

Source from the content-addressed store, hash-verified

1250 self.error(traceback.format_exception_only(*exc_info)[-1].strip())
1251
1252 def _msg_val_func(self, arg, func):
1253 try:
1254 val = self._getval(arg)
1255 except:
1256 return # _getval() has displayed the error
1257 try:
1258 self.message(func(val))
1259 except:
1260 self._error_exc()
1261
1262 def _safe_repr(self, obj, expr):
1263 try:

Callers 2

do_pMethod · 0.95
do_ppMethod · 0.95

Calls 3

_getvalMethod · 0.95
messageMethod · 0.95
_error_excMethod · 0.95

Tested by

no test coverage detected