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
b79e0124
Kaydet (Commit)
b79e0124
authored
May 08, 2015
tarafından
Andrew Svetlov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix doc: asyncio.Semaphore.release() actually is a regular function, not coroutine
üst
9e77f72f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
asyncio-sync.rst
Doc/library/asyncio-sync.rst
+1
-2
No files found.
Doc/library/asyncio-sync.rst
Dosyayı görüntüle @
b79e0124
...
@@ -275,7 +275,7 @@ Semaphore
...
@@ -275,7 +275,7 @@ Semaphore
Returns ``True`` if semaphore can not be acquired immediately.
Returns ``True`` if semaphore can not be acquired immediately.
..
coroutine
method:: release()
.. method:: release()
Release a semaphore, incrementing the internal counter by one. When it
Release a semaphore, incrementing the internal counter by one. When it
was zero on entry and another coroutine is waiting for it to become
was zero on entry and another coroutine is waiting for it to become
...
@@ -291,4 +291,3 @@ BoundedSemaphore
...
@@ -291,4 +291,3 @@ BoundedSemaphore
This raises :exc:`ValueError` in :meth:`~Semaphore.release` if it would
This raises :exc:`ValueError` in :meth:`~Semaphore.release` if it would
increase the value above the initial value.
increase the value above the initial value.
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