Skip to content

Commit

Permalink
Add missing letter in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
bbayles committed May 20, 2017
1 parent c2315db commit d4d692f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion more_itertools/more.py
Expand Up @@ -1305,7 +1305,7 @@ def count_cycle(iterable, n=None):


def locate(iterable, pred=bool):
"""Yield the index of each item in *iterable* for whic *pred* returns
"""Yield the index of each item in *iterable* for which *pred* returns
``True``.
*pred* defaults to ``bool``, which will select truthy items:
Expand Down

0 comments on commit d4d692f

Please sign in to comment.