code: def recorddiff(a, b, buffersize=None, tempdir=None, cache=True, strict=False):
      
  
      added = recordcomplement(b, a, buffersize=buffersize, tempdir=tempdir,
                               cache=cache, strict=strict)
      subtracted = recordcomplement(a, b, buffersize=buffersize, tempdir=tempdir,
                                    cache=cache, strict=strict)
      return added, subtracted
docs: Find the difference between records in two tables. E.g.::
  
          >>> import petl as etl
          >>> a = [['foo', 'bar', 'baz'],
          ...      ['A', 1, True],
          ...      ['C', 7, False],
          ...      ['B', 2, False],
          ...      ['C', 9, True]]
          >>> b = [['bar', 'foo', 'baz'],
          ...      [2, 'B', False],
          ...      [9, 'A', False],
          ...      [3, 'B', True],
          ...      [9, 'C', True]]
          >>> added, subtracted = etl.recorddiff(a, b)
          >>> added
          +-----+-----+-------+
          | bar | foo | baz   |
          +=====+=====+=======+
          |   3 | 'B' | True  |
          +-----+-----+-------+
          |   9 | 'A' | False |
          +-----+-----+-------+
  
          >>> subtracted
          +-----+-----+-------+
          | foo | bar | baz   |
          +=====+=====+=======+
          | 'A' |   1 | True  |
          +-----+-----+-------+
          | 'C' |   7 | False |
          +-----+-----+-------+
  
      Convenient shorthand for
      ``(recordcomplement(b, a), recordcomplement(a, b))``. See also
      :func:`petl.transform.setops.recordcomplement`.
  
      See also the discussion of the `buffersize`, `tempdir` and `cache`
      arguments under the :func:`petl.transform.sorts.sort` function.
  
      .. versionchanged:: 1.1.0
  
      If `strict` is `True` then strict set-like behaviour is used.