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

Method _interact_displayhook

Lib/pdb.py:3019–3023  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

3017 do_h = do_help
3018
3019 def _interact_displayhook(self, obj):
3020 # Like the default `sys.displayhook` except sending a socket message.
3021 if obj is not None:
3022 self.message(repr(obj))
3023 builtins._ = obj
3024
3025 def _run_in_python_repl(self, lines):
3026 # Run one 'interact' mode code block against an existing namespace.

Callers

nothing calls this directly

Calls 1

messageMethod · 0.95

Tested by

no test coverage detected