Commit a0083484 authored by Denis Bilenko's avatar Denis Bilenko

add docstring to DummySemaphore

parent 41dd887c
...@@ -122,6 +122,7 @@ class Semaphore(object): ...@@ -122,6 +122,7 @@ class Semaphore(object):
class DummySemaphore(object): class DummySemaphore(object):
"""A Semaphore initialized with "infinite" initial value. Neither of its methods ever block."""
def __str__(self): def __str__(self):
return '<%s>' % self.__class__.__name__ return '<%s>' % self.__class__.__name__
......
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