diff options
Diffstat (limited to 'Lib/mutex.py')
-rw-r--r-- | Lib/mutex.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/mutex.py b/Lib/mutex.py index 374f457..b897863 100644 --- a/Lib/mutex.py +++ b/Lib/mutex.py @@ -15,10 +15,9 @@ class mutex: # # Create a new mutex -- initially unlocked # - def init(self): + def __init__(self): self.locked = 0 self.queue = [] - return self # # Test the locked bit of the mutex # |