parameters: (tb=None, *, file=None)
docstring: Disassemble a traceback (default: last traceback).
docstring_summary: Disassemble a traceback (default: last traceback).
docstring_tokens: Disassemble a traceback ( default : last traceback ) .
function: def distb(tb=None, *, file=None):
      """Disassemble a traceback (default: last traceback)."""
      if tb is None:
          try:
              tb = sys.last_traceback
          except AttributeError:
              raise RuntimeError("no last traceback to disassemble") from None
          while tb.tb_next: tb = tb.tb_next
      disassemble(tb.tb_frame.f_code, tb.tb_lasti, file=file)
function_tokens: def distb ( tb = None , * , file = None ) : if tb is None : try : tb = sys . last_traceback except AttributeError : raise RuntimeError ( "no last traceback to disassemble" ) from None while tb . tb_next : tb = tb . tb_next disassemble ( tb . tb_frame . f_code , tb . tb_lasti , file = file )