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 1126ebd53..8b5b5f0c2 100644 --- a/doc/whatsnew/2.12.rst +++ b/doc/whatsnew/2.12.rst @@ -50,7 +50,11 @@ Removed checkers Extensions ========== +* Added an optional extension ``consider-using-any-or-all``: Emitted when a ``for`` loop only + produces a boolean and could be replaced by ``any`` or ``all`` using a generator. Also suggests + a suitable any/all statement if it is concise. + Closes #5008 Other Changes ============= |