parameters: (info)
docstring: replace info[2], a traceback instance, by its ID
docstring_summary: replace info[2], a traceback instance, by its ID
docstring_tokens: replace info [ 2 ] a traceback instance by its ID
function: 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
function_tokens: 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