Inspect - Frame

Riassunto:

??? Documentazione



Codice

import inspect
current_frame = inspect.currentframe()
call_frame = inspect.getouterframes(current_frame, 2)
print('caller frame:', call_frame[1][5])
 
>>> 1 #Dont know what it means