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
e04fe8c6
Kaydet (Commit)
e04fe8c6
authored
May 19, 2006
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Typo fix; add clarifying word
üst
3e3cb790
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
whatsnew20.tex
Doc/whatsnew/whatsnew20.tex
+2
-2
No files found.
Doc/whatsnew/whatsnew20.tex
Dosyayı görüntüle @
e04fe8c6
...
@@ -330,7 +330,7 @@ List comprehensions have the form:
...
@@ -330,7 +330,7 @@ List comprehensions have the form:
[ expression for expr in sequence1
[ expression for expr in sequence1
for expr2 in sequence2 ...
for expr2 in sequence2 ...
for exprN in sequenceN
for exprN in sequenceN
if condition
if condition
]
\end{verbatim}
\end{verbatim}
The
\keyword
{
for
}
...
\keyword
{
in
}
clauses contain the sequences to be
The
\keyword
{
for
}
...
\keyword
{
in
}
clauses contain the sequences to be
...
@@ -356,7 +356,7 @@ for expr1 in sequence1:
...
@@ -356,7 +356,7 @@ for expr1 in sequence1:
# resulting list.
# resulting list.
\end{verbatim}
\end{verbatim}
This means that when there are
\keyword
{
for
}
...
\keyword
{
in
}
clauses,
This means that when there are
multiple
\keyword
{
for
}
...
\keyword
{
in
}
clauses,
the resulting list will be equal to the product of the lengths of all
the resulting list will be equal to the product of the lengths of all
the sequences. If you have two lists of length 3, the output list is
the sequences. If you have two lists of length 3, the output list is
9 elements long:
9 elements long:
...
...
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