Return the frame object for the caller's stack frame.
()
| 164 | currentframe = lambda: sys._getframe(1) |
| 165 | else: #pragma: no cover |
| 166 | def currentframe(): |
| 167 | """Return the frame object for the caller's stack frame.""" |
| 168 | try: |
| 169 | raise Exception |
| 170 | except Exception as exc: |
| 171 | return exc.__traceback__.tb_frame.f_back |
| 172 | |
| 173 | # |
| 174 | # _srcfile is used when walking the stack to check when we've got the first |
no outgoing calls
no test coverage detected
searching dependent graphs…