mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Minor clarification of the zip() description, based on a comment sent to
python-docs.
This commit is contained in:
parent
14f5c5fa01
commit
5172adca81
1 changed files with 1 additions and 1 deletions
|
|
@ -839,7 +839,7 @@ def my_import(name):
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{zip}{seq1, \moreargs}
|
\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
|
the \var{i}-th element from each of the argument sequences. At
|
||||||
least one sequence is required, otherwise a \exception{TypeError} is
|
least one sequence is required, otherwise a \exception{TypeError} is
|
||||||
raised. The returned list is truncated in length to the length of
|
raised. The returned list is truncated in length to the length of
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue