Return a list of records for the stack below the current exception.
(context=1)
| 1751 | return getouterframes(sys._getframe(1), context) |
| 1752 | |
| 1753 | def trace(context=1): |
| 1754 | """Return a list of records for the stack below the current exception.""" |
| 1755 | return getinnerframes(sys.exc_info()[2], context) |
| 1756 | |
| 1757 | |
| 1758 | # ------------------------------------------------ static version of getattr |
no test coverage detected