code: def _compare_eq_set(left, right, verbose=0):
      explanation = []
      diff_left = left - right
      diff_right = right - left
      if diff_left:
          explanation.append("Extra items in the left set:")
          for item in diff_left:
              explanation.append(saferepr(item))
      if diff_right:
          explanation.append("Extra items in the right set:")
          for item in diff_right:
              explanation.append(saferepr(item))
      return explanation
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import pprint
  import six
  import _pytest._code
  from ..compat import Sequence
  from _pytest import outcomes
  from _pytest._io.saferepr import saferepr
  from _pytest.compat import ATTRS_EQ_FIELD
label_desc: Use image node_id 17 for calling a global function with example usage: _compare_eq_set(left, right, verbose) and returns: explanation