Skip to content

Commit

Permalink
Fix typo in ensure_unique doctest.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Feb 6, 2022
1 parent dbbf34e commit a276426
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v6.1.1
======

Fixed typo in ``ensure_unique`` doctest.

v6.1.0
======

Expand Down
2 changes: 1 addition & 1 deletion jaraco/itertools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ def ensure_unique(iterable, key=lambda x: x):
Wrap an iterable to raise a ValueError if non-unique values are encountered.
>>> list(ensure_unique('abc'))
['a, 'b', 'c']
['a', 'b', 'c']
>>> consume(ensure_unique('abca'))
Traceback (most recent call last):
...
Expand Down

0 comments on commit a276426

Please sign in to comment.