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
48f3bd33
Kaydet (Commit)
48f3bd33
authored
Ara 16, 2010
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Nits
üst
055d2e0d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
inspect.rst
Doc/library/inspect.rst
+7
-7
3.2.rst
Doc/whatsnew/3.2.rst
+1
-1
NEWS
Misc/NEWS
+1
-1
No files found.
Doc/library/inspect.rst
Dosyayı görüntüle @
48f3bd33
...
...
@@ -630,17 +630,17 @@ Current State of a Generator
When implementing coroutine schedulers and for other advanced uses of
generators, it is useful to determine whether a generator is currently
executing, is waiting to start or resume or execution, or has already
terminated. func:`getgeneratorstate` allows the current state of a
terminated.
:
func:`getgeneratorstate` allows the current state of a
generator to be determined easily.
.. function:: getgeneratorstate(generator)
Get current state of a generator-iterator.
Get current state of a generator-iterator.
Possible states are:
GEN_CREATED: Waiting to start execution.
GEN_RUNNING: Currently being executed by the interpreter.
GEN_SUSPENDED: Currently suspended at a yield expression.
GEN_CLOSED: Execution has completed.
Possible states are:
-
GEN_CREATED: Waiting to start execution.
-
GEN_RUNNING: Currently being executed by the interpreter.
-
GEN_SUSPENDED: Currently suspended at a yield expression.
-
GEN_CLOSED: Execution has completed.
.. versionadded:: 3.2
Doc/whatsnew/3.2.rst
Dosyayı görüntüle @
48f3bd33
...
...
@@ -1311,7 +1311,7 @@ Multi-threading
* Regular and recursive lock acquisitions can now be interrupted by signals on
platforms using pthreads. This means that Python programs that deadlock while
acquiring locks can be successfully killed by repeatedly sending SIGINT to the
process (
ie,
by pressing Ctl+C in most shells).
process (by pressing Ctl+C in most shells).
(Contributed by Reid Kleckner; :issue:`8844`.)
...
...
Misc/NEWS
Dosyayı görüntüle @
48f3bd33
...
...
@@ -2195,7 +2195,7 @@ Library
- Issue #8897: Fix sunau module, use bytes to write the header. Patch written by
Thomas Jollans.
- Issue #8899: time.struct_time now has class and atribute docstrings.
- Issue #8899: time.struct_time now has class and at
t
ribute docstrings.
- Issue #6470: Drop UNC prefix in FixTk.
...
...
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