]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-137952: update `csv.Sniffer().has_header()` docs to describe the actual off-by...
authorMaurycy Pawłowski-Wieroński <maurycy@maurycy.com>
Wed, 12 Nov 2025 00:03:14 +0000 (01:03 +0100)
committerGitHub <noreply@github.com>
Wed, 12 Nov 2025 00:03:14 +0000 (00:03 +0000)
commit0d7b48a8f5de5c1c6d57e1cf7194b6fb222d92e5
tree629f8b89a8364e1c1fefe1fe5dee7f32e26d08c8
parentf5c2a41f9a6b3be95c5be9dbae0a4a3342d356dc
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.

---------

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