Commit a5eee588 authored by Denis Bilenko's avatar Denis Bilenko

Semaphore: rename 'counter' argument to 'value' to match stdlib's Semaphore

parent d92998a7
......@@ -14,9 +14,9 @@ class Semaphore(object):
If not given, value defaults to 1."""
def __init__(self, count=0):
def __init__(self, value=1):
self._links = []
self.counter = count
self.counter = value
self._notifier = None
def __str__(self):
......
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