Skip to content

Commit

Permalink
Fix "then then" typos in docstrings.
Browse files Browse the repository at this point in the history
They were both added in commit
a6b454a.
  • Loading branch information
cyphase committed Feb 2, 2021
1 parent da6cec1 commit 13bf54e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions more_itertools/more.py
Expand Up @@ -138,7 +138,7 @@ def chunked(iterable, n, strict=False):
To use a fill-in value instead, see the :func:`grouper` recipe.
If the length of *iterable* is not divisible by *n* and *strict* is
``True``, then then ``ValueError`` will be raised before the last
``True``, then ``ValueError`` will be raised before the last
list is yielded.
"""
Expand Down Expand Up @@ -1138,7 +1138,7 @@ def sliced(seq, n, strict=False):
[(1, 2, 3), (4, 5, 6), (7, 8)]
If the length of *seq* is not divisible by *n* and *strict* is
``True``, then then ``ValueError`` will be raised before the last
``True``, then ``ValueError`` will be raised before the last
slice is yielded.
This function will only work for iterables that support slicing.
Expand Down

0 comments on commit 13bf54e

Please sign in to comment.