Return a list of records for the stack below the current exception.
(context=1)
| 1685 | return getouterframes(sys._getframe(1), context) |
| 1686 | |
| 1687 | def trace(context=1): |
| 1688 | """Return a list of records for the stack below the current exception.""" |
| 1689 | exc = sys.exception() |
| 1690 | tb = None if exc is None else exc.__traceback__ |
| 1691 | return getinnerframes(tb, context) |
| 1692 | |
| 1693 | |
| 1694 | # ------------------------------------------------ static version of getattr |
nothing calls this directly
no test coverage detected
searching dependent graphs…