]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] 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:10 +0000 (01:13 +0100)
committerGitHub <noreply@github.com>
Wed, 12 Nov 2025 00:13:10 +0000 (16:13 -0800)
commit21c9c919aa7f217d5e7ad1d1549a556392af2143
tree315a33415a43a3aac9886e3f0ef844a1685a3719
parent83c3eae099c8d2a64e85ba94289f561c5e6d5521
[3.14] gh-137952: update `csv.Sniffer().has_header()` docs to describe the actual off-by-onish behavior (GH-137953) (#141434)

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