Return true if the object is a traceback. Traceback objects provide these attributes: tb_frame frame object at this level tb_lasti index of last attempted instruction in bytecode tb_lineno current line number in Python source code tb_nex
(object)
| 454 | isinstance(object, collections.abc.Awaitable)) |
| 455 | |
| 456 | def istraceback(object): |
| 457 | """Return true if the object is a traceback. |
| 458 | |
| 459 | Traceback objects provide these attributes: |
| 460 | tb_frame frame object at this level |
| 461 | tb_lasti index of last attempted instruction in bytecode |
| 462 | tb_lineno current line number in Python source code |
| 463 | tb_next next inner traceback object (called by this level)""" |
| 464 | return isinstance(object, types.TracebackType) |
| 465 | |
| 466 | def isframe(object): |
| 467 | """Return true if the object is a frame object. |
no outgoing calls
no test coverage detected