Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
1823ae7e
Kaydet (Commit)
1823ae7e
authored
Agu 21, 2005
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SF bug #1121416: zip incorrectly and incompletely documented
sequences ==> iterables
üst
a30616a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
libfuncs.tex
Doc/lib/libfuncs.tex
+4
-4
No files found.
Doc/lib/libfuncs.tex
Dosyayı görüntüle @
1823ae7e
...
...
@@ -1149,12 +1149,12 @@ It's a function
that the number of elements fit in a native C long.
}
\end{funcdesc}
\begin{funcdesc}
{
zip
}{
\optional
{
seq1
,
\moreargs
}}
\begin{funcdesc}
{
zip
}{
\optional
{
iterable
,
\moreargs
}}
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.
the
\var
{
i
}
-th element from each of the argument sequences
or iterables
.
The returned list is truncated in length to the length of
the shortest argument sequence. When there are multiple argument
sequences
which are all of the same length,
\function
{
zip()
}
is
the shortest argument sequence. When there are multiple argument
s
which are all of the same length,
\function
{
zip()
}
is
similar to
\function
{
map()
}
with an initial argument of
\code
{
None
}
.
With a single sequence argument, it returns a list of 1-tuples.
With no arguments, it returns an empty list.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment