summaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
authorMartin <MartinBasti@users.noreply.github.com>2021-11-03 22:49:04 +0100
committerGitHub <noreply@github.com>2021-11-03 22:49:04 +0100
commitde307ccf20c69ef1cfba05c000de19ec2407b5cd (patch)
tree84cc363659730c3819ca9710ecf4bce6f67954a9 /doc/conf.py
parentbe9e34722f521608a24a0d00e6991913bbad835a (diff)
downloadpylint-git-de307ccf20c69ef1cfba05c000de19ec2407b5cd.tar.gz
Inspection for `with threading.Lock():` (#5245)
Using `with threading.Lock():` directly has no effect. Correct usage is: ``` lock = threading.Lock() with lock: ... ``` This applies for: * threading.Lock * threading.RLock * threading.Condition * threading.Semaphore * threading.BoundedSemaphore Signed-off-by: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'doc/conf.py')
0 files changed, 0 insertions, 0 deletions