Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e77f72 commit b79e012Copy full SHA for b79e012
1 file changed
Doc/library/asyncio-sync.rst
@@ -275,7 +275,7 @@ Semaphore
275
276
Returns ``True`` if semaphore can not be acquired immediately.
277
278
- .. coroutinemethod:: release()
+ .. method:: release()
279
280
Release a semaphore, incrementing the internal counter by one. When it
281
was zero on entry and another coroutine is waiting for it to become
@@ -291,4 +291,3 @@ BoundedSemaphore
291
292
This raises :exc:`ValueError` in :meth:`~Semaphore.release` if it would
293
increase the value above the initial value.
294
-
0 commit comments