Commit d6646186 authored by Guido Trotter's avatar Guido Trotter
Browse files

Fix a couple of SharedLock docstrings

Use the actual class name rather than a spaced version of it.

Reviewed-by: iustinp
parent bae27f68
......@@ -38,7 +38,7 @@ class SharedLock:
"""
def __init__(self):
"""Construct a new Shared Lock"""
"""Construct a new SharedLock"""
# we have two conditions, c_shr and c_exc, sharing the same lock.
self.__lock = threading.Lock()
self.__turn_shr = threading.Condition(self.__lock)
......
......@@ -32,7 +32,7 @@ from threading import Thread
class TestSharedLock(unittest.TestCase):
"""Shared lock tests"""
"""SharedLock tests"""
def setUp(self):
self.sl = locking.SharedLock()
......
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