mirror of
https://github.com/python/cpython.git
synced 2026-03-27 15:10:56 +00:00
Typo fixes
This commit is contained in:
parent
ea7fa72630
commit
e2e031394c
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue