From a54a4a3f74829e7117ecb94cd51ad8e0456f8702 Mon Sep 17 00:00:00 2001 From: Zac Hatfield-Dodds Date: Tue, 6 Dec 2022 09:46:17 -0800 Subject: [PATCH] Update README.rst Co-authored-by: Cooper Lees --- README.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 8c54715..789951b 100644 --- a/README.rst +++ b/README.rst @@ -200,7 +200,10 @@ or ``raise ... from None`` to distinguish them from errors in exception handling See `the exception chaining tutorial `_ for details. -**B905**: `zip()` without an explicit `strict=` parameter. Added with python3.10, so don't enable this flag for code that should work on previous versions. https://peps.python.org/pep-0618/ +**B905**: ``zip()`` without an explicit `strict=` parameter set. ``strict=True`` causes the resulting iterator +to raise a ``ValueError`` if the arguments are exhausted at differing lengths. The ``strict=`` argument +was added in Python 3.10, so don't enable this flag for code that should work on <3.10. +For more information: https://peps.python.org/pep-0618/ **B950**: Line too long. This is a pragmatic equivalent of ``pycodestyle``'s ``E501``: it considers "max-line-length" but only triggers