]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-137952: update `csv.Sniffer().has_header()` docs to describe the actual...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 12 Nov 2025 00:13:19 +0000 (01:13 +0100)
committerGitHub <noreply@github.com>
Wed, 12 Nov 2025 00:13:19 +0000 (16:13 -0800)
commitaec6b7229756b54987ecdae3ab15164913947b2f
tree57626a5a4b22802ee5eb9097d6766f8501c54f26
parent54f620cc7fb8aa75e5526589322a6580c6446a22
[3.13] gh-137952: update `csv.Sniffer().has_header()` docs to describe the actual off-by-onish behavior (GH-137953) (#141435)

gh-137952: update `csv.Sniffer().has_header()` docs to describe the actual off-by-onish behavior (GH-137953)

* checks 21, not 20
* Say "header" instead of "first row" to disambiguate per review.

---------
(cherry picked from commit 0d7b48a8f5de5c1c6d57e1cf7194b6fb222d92e5)

Co-authored-by: Maurycy Pawłowski-Wieroński <maurycy@maurycy.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Doc/library/csv.rst