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

Method stackviewer

Lib/idlelib/run.py:634–646  ·  view source on GitHub ↗
(self, flist_oid=None)

Source from the content-addressed store, hash-verified

632 return self.autocomplete.fetch_completions(what, mode)
633
634 def stackviewer(self, flist_oid=None):
635 if self.user_exc_info:
636 _, exc, tb = self.user_exc_info
637 else:
638 return None
639 flist = None
640 if flist_oid is not None:
641 flist = self.rpchandler.get_remote_proxy(flist_oid)
642 while tb and tb.tb_frame.f_globals["__name__"] in ["rpc", "run"]:
643 tb = tb.tb_next
644 exc.__traceback__ = tb
645 item = stackviewer.StackTreeItem(exc, flist)
646 return debugobj_r.remote_object_tree_item(item)
647
648
649if __name__ == '__main__':

Callers

nothing calls this directly

Calls 1

get_remote_proxyMethod · 0.45

Tested by

no test coverage detected