def report_info(frame, extrainfo):
    """
    Report on the __traceback_info__ extension.
    """
    f_locals = frame.f_locals
    tb_info = f_locals.get('__traceback_info__', None)
    if tb_info:
        tb_info = str(tb_info)
        extrainfo.add_frame_section(section='Info', style='extension.info',
            content=[tb_info])
