Fix docs and comment for r87454.
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 9c0f1a1..9e30908 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -1160,7 +1160,7 @@
       Duplicate elements are *not* ignored when comparing *actual* and
       *expected*. It verifies if each element has the same count in both
       sequences. Equivalent to:
-      ``assertEqual(Counter(iter(actual)), Counter(iter(expected)))``
+      ``assertEqual(Counter(list(actual)), Counter(list(expected)))``
       but works with sequences of unhashable objects as well.
 
       .. versionadded:: 3.2