(info)
replace info[2], a traceback instance, by its ID
replace info[2], a traceback instance, by its ID
replace info [ 2 ] a traceback instance by its ID
def wrap_info(info):
    "replace info[2], a traceback instance, by its ID"
    if info is None:
        return None
    else:
        traceback = info[2]
        assert isinstance(traceback, types.TracebackType)
        traceback_id = id(traceback)
        tracebacktable[traceback_id] = traceback
        modified_info = (info[0], info[1], traceback_id)
        return modified_info
def wrap_info ( info ) : if info is None : return None else : traceback = info [ 2 ] assert isinstance ( traceback , types . TracebackType ) traceback_id = id ( traceback ) tracebacktable [ traceback_id ] = traceback modified_info = ( info [ 0 ] , info [ 1 ] , traceback_id ) return modified_info