SIGN IN SIGN UP

[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>
M
Miss Islington (bot) committed
aec6b7229756b54987ecdae3ab15164913947b2f
Parent: 54f620c
Committed by GitHub <noreply@github.com> on 11/12/2025, 12:13:19 AM