We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c2e9cf commit 96123f8Copy full SHA for 96123f8
stdlib/2and3/threading.pyi
@@ -91,6 +91,7 @@ class Lock:
91
else:
92
def acquire(self, blocking: bool = ...) -> bool: ...
93
def release(self) -> None: ...
94
+ def locked(self) -> bool: ...
95
96
97
class _RLock:
0 commit comments