MCPcopy Index your code
hub / github.com/ipython/ipython / _from_stack_data_FrameInfo

Method _from_stack_data_FrameInfo

IPython/core/tbtools.py:300–311  ·  view source on GitHub ↗
(
        cls, frame_info: stack_data.core.FrameInfo | stack_data.core.RepeatedFrames
    )

Source from the content-addressed store, hash-verified

298
299 @classmethod
300 def _from_stack_data_FrameInfo(
301 cls, frame_info: stack_data.core.FrameInfo | stack_data.core.RepeatedFrames
302 ) -> "FrameInfo":
303 return cls(
304 getattr(frame_info, "description", None),
305 getattr(frame_info, "filename", None), # type: ignore[arg-type]
306 getattr(frame_info, "lineno", None), # type: ignore[arg-type]
307 getattr(frame_info, "frame", None),
308 getattr(frame_info, "code", None),
309 sd=frame_info,
310 context=None,
311 )
312
313 def __init__(
314 self,

Callers 2

get_recordsMethod · 0.80
get_recordsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected