Commit 8c2988d2 authored by Denis Bilenko's avatar Denis Bilenko

fix SyntaxError in coros.py

parent 73f87d78
......@@ -156,9 +156,9 @@ class DummySemaphore(object):
class BoundedSemaphore(Semaphore):
"""A bounded semaphore checks to make sure its current value doesnt exceed its initial value.
"""A bounded semaphore checks to make sure its current value doesn't exceed its initial value.
If it does, ``ValueError`` is raised. In most situations semaphores are used to guard resources
with limited capacity. If the semaphore is released too many times its a sign of a bug.
with limited capacity. If the semaphore is released too many times it's a sign of a bug.
If not given, *value* defaults to 1."""
......
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