Commit 0048835e authored by Andrew Svetlov's avatar Andrew Svetlov

Merge 3.4

parents 38337d1e 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.
.. coroutinemethod:: 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.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment