diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-12-01 12:13:18 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-01 12:13:18 -0800 |
| commit | cbac6ee3f6aaced5b4f8126199eef89c64ef99fc (patch) | |
| tree | 58a3e5b12aa66fdd8099cea104ea124467623247 | |
| parent | 7e9bbbe51e74e5928e6a6c3e70434d824970ef58 (diff) | |
| download | cpython-git-cbac6ee3f6aaced5b4f8126199eef89c64ef99fc.tar.gz | |
document threading.Lock.locked() (GH-17427)
(cherry picked from commit fdafa1d0ed0a8930b52ee81e57c931cc4d5c2388)
Co-authored-by: idomic <michael.ido@gmail.com>
| -rw-r--r-- | Doc/library/threading.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 6fcdd42d60..02af94eda6 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -418,6 +418,10 @@ All methods are executed atomically. There is no return value. + .. method:: locked() + Return true if the lock is acquired. + + .. _rlock-objects: |
