mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-16 18:41:07 +00:00
documentation
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2396 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
131bea1a59
commit
882f204319
1 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,10 @@ except ImportError:
|
|||
lock_klass = threading.RLock().__class__
|
||||
|
||||
class AssertLock (lock_klass):
|
||||
"""
|
||||
Lock class asserting that only available locks are acquired,
|
||||
and that no lock is released twice.
|
||||
"""
|
||||
|
||||
def acquire (self, blocking=True):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue