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
c32cc7c1
Kaydet (Commit)
c32cc7c1
authored
Tem 17, 2001
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Delete sentence fragment (noted by Fred Bremmer)
üst
55a78992
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
whatsnew22.tex
Doc/whatsnew/whatsnew22.tex
+5
-5
No files found.
Doc/whatsnew/whatsnew22.tex
Dosyayı görüntüle @
c32cc7c1
...
...
@@ -268,10 +268,10 @@ own class and storing all the local variables of the generator as
instance variables. For example, returning a list of integers could
be done by setting
\code
{
self.count
}
to 0, and having the
\method
{
next()
}
method increment
\code
{
self.count
}
and return it.
because it would be easy to write a Python class. However, for
a
moderately complicated generator, writing a corresponding class would
be much messier.
\file
{
Lib/test/test
_
generators.py
}
contains a number
of more
interesting examples. The simplest one implements an in-order
However, for a moderately complicated generator, writing
a
corresponding class would be much messier.
\file
{
Lib/test/test
_
generators.py
}
contains a number of more
interesting examples. The simplest one implements an in-order
traversal of a tree using generators recursively.
\begin{verbatim}
...
...
@@ -640,6 +640,6 @@ slot, or raise an exception if that's \NULL.
The author would like to thank the following people for offering
suggestions and corrections to various drafts of this article: Fred
L. Drake, Jr., Tim Peters, Neil Schemenauer.
Bremmer, Fred
L. Drake, Jr., Tim Peters, Neil Schemenauer.
\end{document}
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