@@ -1358,7 +1358,7 @@ static PyMethodDef takewhile_reduce_methods[] = {
13581358PyDoc_STRVAR (takewhile_doc ,
13591359"takewhile(predicate, iterable) --> takewhile object\n\
13601360\n\
1361- Return successive entries from an iterable as long as the \n\
1361+ Return successive entries from an iterable as long as the\n\
13621362predicate evaluates to true for each entry." );
13631363
13641364static PyTypeObject takewhile_type = {
@@ -1616,7 +1616,7 @@ islice(iterable, start, stop[, step]) --> islice object\n\
16161616Return an iterator whose next() method returns selected values from an\n\
16171617iterable. If start is specified, will skip all preceding elements;\n\
16181618otherwise, start defaults to zero. Step defaults to one. If\n\
1619- specified as another value, step determines how many values are \n\
1619+ specified as another value, step determines how many values are\n\
16201620skipped between successive calls. Works like a slice() on a list\n\
16211621but returns an iterator." );
16221622
@@ -4613,8 +4613,8 @@ repeat(elem [,n]) --> elem, elem, elem, ... endlessly or up to n times\n\
46134613\n\
46144614Iterators terminating on the shortest input sequence:\n\
46154615accumulate(p[, func]) --> p0, p0+p1, p0+p1+p2\n\
4616- chain(p, q, ...) --> p0, p1, ... plast, q0, q1, ... \n\
4617- chain.from_iterable([p, q, ...]) --> p0, p1, ... plast, q0, q1, ... \n\
4616+ chain(p, q, ...) --> p0, p1, ... plast, q0, q1, ...\n\
4617+ chain.from_iterable([p, q, ...]) --> p0, p1, ... plast, q0, q1, ...\n\
46184618compress(data, selectors) --> (d[0] if s[0]), (d[1] if s[1]), ...\n\
46194619dropwhile(pred, seq) --> seq[n], seq[n+1], starting when pred fails\n\
46204620groupby(iterable[, keyfunc]) --> sub-iterators grouped by value of keyfunc(v)\n\
@@ -4624,7 +4624,7 @@ islice(seq, [start,] stop [, step]) --> elements from\n\
46244624starmap(fun, seq) --> fun(*seq[0]), fun(*seq[1]), ...\n\
46254625tee(it, n=2) --> (it1, it2 , ... itn) splits one iterator into n\n\
46264626takewhile(pred, seq) --> seq[0], seq[1], until pred fails\n\
4627- zip_longest(p, q, ...) --> (p[0], q[0]), (p[1], q[1]), ... \n\
4627+ zip_longest(p, q, ...) --> (p[0], q[0]), (p[1], q[1]), ...\n\
46284628\n\
46294629Combinatoric generators:\n\
46304630product(p, q, ... [repeat=1]) --> cartesian product\n\
0 commit comments