Fix doc: asyncio.Semaphore.release() actually is a regular function, not coroutine

This commit is contained in:
Andrew Svetlov 2015-05-08 14:13:41 +03:00
parent 9e77f72fb2
commit b79e01248d
1 changed files with 1 additions and 2 deletions

View File

@ -275,7 +275,7 @@ Semaphore
Returns ``True`` if semaphore can not be acquired immediately.
.. coroutinemethod:: release()
.. method:: release()
Release a semaphore, incrementing the internal counter by one. When it
was zero on entry and another coroutine is waiting for it to become
@ -291,4 +291,3 @@ BoundedSemaphore
This raises :exc:`ValueError` in :meth:`~Semaphore.release` if it would
increase the value above the initial value.