class_docstr: Class that wraps builtin Traceback objects.
docstr: Creates an instance from a dictionary with the same structure as ``.as_dict()`` returns.
docstr_tok: ["Creates","an","instance","from","a","dictionary","with","the","same","structure","as","``",".as_dict","(",")","``","returns","."]
code: def from_dict(cls, dct):
      """
      Creates an instance from a dictionary with the same structure as ``.as_dict()`` returns.
      """
      if dct["tb_next"]:
          tb_next = cls.from_dict(dct["tb_next"])
      else:
          tb_next = None
  
      code = _AttrDict(
          co_filename=dct["tb_frame"]["f_code"]["co_filename"],
          co_name=dct["tb_frame"]["f_code"]["co_name"],
      )
      frame = _AttrDict(
          f_globals=dct["tb_frame"]["f_globals"],
          f_code=code,
          f_lineno=dct["tb_frame"]["f_lineno"],
      )
      tb = _AttrDict(
          tb_frame=frame,
          tb_lineno=dct["tb_lineno"],
          tb_next=tb_next,
      )
      return cls(tb)
  
imports: import re
  import sys
  from types import CodeType
  from types import FrameType
  from types import TracebackType
label_desc: Use image node_id 5 for calling the Traceback obj's underlying member method code with example usage: obj.from_dict(cls, dct) and returns: cls