summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-04-17 20:44:06 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-04-17 20:44:06 (GMT)
commite2e031394c09769873a898ab341cf3287dfd0154 (patch)
treef959aa406f054d8a87166c6ce455238218f28278 /Doc
parentea7fa726305a39aa59660c93fd26c0cc916a8c0e (diff)
downloadcpython-e2e031394c09769873a898ab341cf3287dfd0154.zip
cpython-e2e031394c09769873a898ab341cf3287dfd0154.tar.gz
cpython-e2e031394c09769873a898ab341cf3287dfd0154.tar.bz2
Typo fixes
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/itertools.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst
index 7d7c6ca..81b2c7f 100644
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -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