mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 16:33:49 +08:00
Added Lock.locked() method stub (#633)
https://docs.python.org/3/library/asyncio-sync.html#asyncio.Lock.locked
This commit is contained in:
1 parent
0c2e9cf3be
commit
96123f8474
1 file changed
+1
@@ -91,6 +91,7 @@ class Lock:
|
||||
else:
|
||||
def acquire(self, blocking: bool = ...) -> bool: ...
|
||||
def release(self) -> None: ...
|
||||
def locked(self) -> bool: ...
|
||||
|
||||
|
||||
class _RLock:
|
||||
|
||||
Reference in new issue
Block a user