Return the frame of the caller or None if this is not possible.
The official docs include a CPython implementation detail for this entry.
inspect/currentframe
currentframe