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/2] 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/2] 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::