From 3f5ff7cd544f57b3063522442f35e51919867ffc Mon Sep 17 00:00:00 2001 From: maurycy <5383+maurycy@users.noreply.github.com> Date: Tue, 19 Aug 2025 13:59:34 +0200 Subject: [PATCH 1/3] checks 21, not 20 --- Doc/library/csv.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index d39c4ca4a5838b..d08f7bf1b28d34 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -294,8 +294,8 @@ The :mod:`csv` module defines the following classes: - the second through n-th rows contain strings where at least one value's length differs from that of the putative header of that column. - Twenty rows after the first row are sampled; if more than half of columns + - rows meet the criteria, :const:`True` is returned. + Twenty-one rows after the first row are sampled; if more than half of + columns + rows meet the criteria, :const:`True` is returned. .. note:: From d90362992713935dac5ca77868d843ea37a2ba43 Mon Sep 17 00:00:00 2001 From: maurycy <5383+maurycy@users.noreply.github.com> Date: Tue, 19 Aug 2025 14:22:07 +0200 Subject: [PATCH 2/3] Update Doc/library/csv.rst Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> --- Doc/library/csv.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index d08f7bf1b28d34..55b42802aa27ab 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -294,7 +294,7 @@ The :mod:`csv` module defines the following classes: - the second through n-th rows contain strings where at least one value's length differs from that of the putative header of that column. - Twenty-one rows after the first row are sampled; if more than half of + Twenty-one rows after the first row are sampled; if more than half of the columns + rows meet the criteria, :const:`True` is returned. .. note:: From 2463a3da64d42f32da45d8466db02b2e3f2607cc Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" <68491+gpshead@users.noreply.github.com> Date: Tue, 11 Nov 2025 15:56:47 -0800 Subject: [PATCH 3/3] Say "header" instead of "first row" to disambiguate per review. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Maurycy Pawłowski-Wieroński --- Doc/library/csv.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 55b42802aa27ab..25a133d5617d70 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -294,7 +294,7 @@ The :mod:`csv` module defines the following classes: - the second through n-th rows contain strings where at least one value's length differs from that of the putative header of that column. - Twenty-one rows after the first row are sampled; if more than half of the + Twenty-one rows after the header are sampled; if more than half of the columns + rows meet the criteria, :const:`True` is returned. .. note::