]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Typo fixes
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 17 Apr 2008 20:44:06 +0000 (20:44 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 17 Apr 2008 20:44:06 +0000 (20:44 +0000)
Doc/library/itertools.rst

index 7d7c6ca37299eaa38c6f0641ae1f26856af93486..81b2c7fed5d56df5e146ac615dedc5651e4222cf 100644 (file)
@@ -444,8 +444,8 @@ loops that truncate the stream.
    ``product(A, B)`` returns the same as ``((x,y) for x in A for y in B)``.
 
    The nested loops cycle like an odometer with the rightmost element advancing
-   on every iteration.  This pattern creats a lexicographic ordering so that if
-   the inputs iterables are sorted, the product tuples are emitted in sorted
+   on every iteration.  This pattern creates a lexicographic ordering so that if
+   the input's iterables are sorted, the product tuples are emitted in sorted
    order.
 
    To compute the product of an iterable with itself, specify the number of