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
08d752cf
Kaydet (Commit)
08d752cf
authored
Ara 14, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update to use the notice environment so a multi-paragraph note can be
appropriately marked.
üst
75401a02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ref6.tex
Doc/ref/ref6.tex
+4
-2
No files found.
Doc/ref/ref6.tex
Dosyayı görüntüle @
08d752cf
...
@@ -482,14 +482,16 @@ difficulty is that there's no guarantee the generator will ever be
...
@@ -482,14 +482,16 @@ difficulty is that there's no guarantee the generator will ever be
resumed, hence no guarantee that the
\keyword
{
finally
}
block will ever
resumed, hence no guarantee that the
\keyword
{
finally
}
block will ever
get executed.
get executed.
\note
{
In Python 2.2, the
\keyword
{
yield
}
statement is only allowed
\begin{notice}
In Python 2.2, the
\keyword
{
yield
}
statement is only allowed
when the
\code
{
generators
}
feature has been enabled. It will always
when the
\code
{
generators
}
feature has been enabled. It will always
be enabled in Python 2.3. This
\code
{__
future
__}
import statment can
be enabled in Python 2.3. This
\code
{__
future
__}
import statment can
be used to enable the feature:
}
be used to enable the feature:
\begin{verbatim}
\begin{verbatim}
from
__
future
__
import generators
from
__
future
__
import generators
\end{verbatim}
\end{verbatim}
\end{notice}
\begin{seealso}
\begin{seealso}
...
...
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