Added Lock.locked() method stub (#633)

https://docs.python.org/3/library/asyncio-sync.html#asyncio.Lock.locked
This commit is contained in:
Gerhard Hagerer
2016-10-26 16:17:59 +02:00
committed by Guido van Rossum
parent 0c2e9cf3be
commit 96123f8474

View File

@@ -91,6 +91,7 @@ class Lock:
else:
def acquire(self, blocking: bool = ...) -> bool: ...
def release(self) -> None: ...
def locked(self) -> bool: ...
class _RLock: