From 68a74d0b268e23fadbf20eea31e654b4834db56e Mon Sep 17 00:00:00 2001 From: slateny <46876382+slateny@users.noreply.github.com> Date: Mon, 22 Aug 2022 22:50:41 -0700 Subject: [PATCH 1/2] Add comment on preferred delimiters --- Doc/library/csv.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 9dec7240d9c50fd..f0c6e917e895f95 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -275,6 +275,8 @@ The :mod:`csv` module defines the following classes: reflecting the parameters found. If the optional *delimiters* parameter is given, it is interpreted as a string containing possible valid delimiter characters. + If not excluded by the *delimiters* parameter, and if there is ambiguity, + then delimiter choice will be bias towards ``[',', '\t', ';', ' ', ':']``. .. method:: has_header(sample) From fbe8d540cca9f0784a22282927431aa0eaa6b151 Mon Sep 17 00:00:00 2001 From: Stanley <46876382+slateny@users.noreply.github.com> Date: Sun, 23 Oct 2022 15:48:27 -0700 Subject: [PATCH 2/2] Correct tense Co-authored-by: Pieter Eendebak --- 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 f0c6e917e895f95..263e94a380a2e1f 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -276,7 +276,7 @@ The :mod:`csv` module defines the following classes: is given, it is interpreted as a string containing possible valid delimiter characters. If not excluded by the *delimiters* parameter, and if there is ambiguity, - then delimiter choice will be bias towards ``[',', '\t', ';', ' ', ':']``. + then delimiter choice will be biased towards ``[',', '\t', ';', ' ', ':']``. .. method:: has_header(sample)