mirror of https://github.com/python/cpython
Minor clarification of the zip() description, based on a comment sent to
python-docs.
This commit is contained in:
parent
14f5c5fa01
commit
5172adca81
|
@ -839,7 +839,7 @@ def my_import(name):
|
|||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{zip}{seq1, \moreargs}
|
||||
This function returns a list of tuples, where each tuple contains
|
||||
This function returns a list of tuples, where the \var{i}-th tuple contains
|
||||
the \var{i}-th element from each of the argument sequences. At
|
||||
least one sequence is required, otherwise a \exception{TypeError} is
|
||||
raised. The returned list is truncated in length to the length of
|
||||
|
|
Loading…
Reference in New Issue