MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / getframeinfo

Function getframeinfo

Lib/inspect.py:988–1019  ·  view source on GitHub ↗

Get information about a frame or traceback object. A tuple of five things is returned: the filename, the line number of the current line, the function name, a list of lines of context from the source code, and the index of the current line within that list. The optional second argum

(frame, context=1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getouterframesFunction · 0.85
getinnerframesFunction · 0.85

Calls 6

istracebackFunction · 0.85
isframeFunction · 0.85
getsourcefileFunction · 0.85
getfileFunction · 0.85
findsourceFunction · 0.85
formatMethod · 0.45

Tested by

no test coverage detected