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
d8f5802a
Kaydet (Commit)
d8f5802a
authored
Kas 02, 2004
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
clarify discussion of iteration in the section on the "for" statement
(SF bug #829073)
üst
e1938069
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ref7.tex
Doc/ref/ref7.tex
+4
-2
No files found.
Doc/ref/ref7.tex
Dosyayı görüntüle @
d8f5802a
...
@@ -134,8 +134,10 @@ sequence (such as a string, tuple or list) or other iterable object:
...
@@ -134,8 +134,10 @@ sequence (such as a string, tuple or list) or other iterable object:
\productioncont
{
["else" ":"
\token
{
suite
}
]
}
\productioncont
{
["else" ":"
\token
{
suite
}
]
}
\end{productionlist}
\end{productionlist}
The expression list is evaluated once; it should yield a sequence. The
The expression list is evaluated once; it should yield an iterable
suite is then executed once for each item in the sequence, in the
object. An iterator is created for the result of the
{}
\code
{
expression
_
list
}
. The suite is then executed once for each
item provided by the iterator, in the
order of ascending indices. Each item in turn is assigned to the
order of ascending indices. Each item in turn is assigned to the
target list using the standard rules for assignments, and then the
target list using the standard rules for assignments, and then the
suite is executed. When the items are exhausted (which is immediately
suite is executed. When the items are exhausted (which is immediately
...
...
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