From d4d692f920beea83bd144f7b63f432f24402a633 Mon Sep 17 00:00:00 2001 From: Bo Bayles Date: Sat, 20 May 2017 18:36:58 -0500 Subject: [PATCH] Add missing letter in docstring --- more_itertools/more.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/more_itertools/more.py b/more_itertools/more.py index 6b10fe57..d8dfe36b 100644 --- a/more_itertools/more.py +++ b/more_itertools/more.py @@ -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: