我在 python 上做了一个“帮助(inspect.getouterframes)”,这就是它给我的:
getouterframes(frame, **context**=1)
Get a list of records for a frame and all higher (calling) frames.
Each record contains a frame object, filename, line number, function
name, a list of lines of context, and **index within the context**.
我只是想知道......这些“上下文”和“索引”是什么意思?
谢谢!