diff options
Diffstat (limited to 'doc/whatsnew/2.12.rst')
-rw-r--r-- | doc/whatsnew/2.12.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/whatsnew/2.12.rst b/doc/whatsnew/2.12.rst index 7fbb4ab71..b2e57a8a7 100644 --- a/doc/whatsnew/2.12.rst +++ b/doc/whatsnew/2.12.rst @@ -48,6 +48,10 @@ New checkers Closes #3370 +* Added new checker ``useless-with-lock`` to find incorrect usage of with statement and threading module locks. + Emitted when ``with threading.Lock():`` is used instead of ``with lock_instance:``. + + Closes #5208 Removed checkers ================ |