def format_tb(tb, limit = None):
    return format_list(extract_tb(tb, limit))
A shorthand for 'format_list(extract_stack(f, limit)).
dataset/ETHPy150Open babble/babble/include/jython/Lib/traceback.py/format_tb