From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 1 Feb 2024 03:17:56 +0000 (+0100) Subject: [3.12] gh-67230: Add versionadded notes for QUOTE_NOTNULL and QUOTE_STRINGS (GH-11481... X-Git-Tag: v3.12.2~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c26decab6f96920bfa3a149d93dd50670fdb5a36;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-67230: Add versionadded notes for QUOTE_NOTNULL and QUOTE_STRINGS (GH-114816) (#114840) As @GPHemsley pointed out, GH-29469 omitted `versionadded` notes for the 2 new items. (cherry picked from commit 586057e9f80d57f16334c0eee8431931e4aa8cff) Co-authored-by: Skip Montanaro --- diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 66888c22b7cc..fd62b225fceb 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -351,6 +351,8 @@ The :mod:`csv` module defines the following constants: Instructs :class:`reader` objects to interpret an empty (unquoted) field as None and to otherwise behave as :data:`QUOTE_ALL`. + .. versionadded:: 3.12 + .. data:: QUOTE_STRINGS Instructs :class:`writer` objects to always place quotes around fields @@ -360,6 +362,8 @@ The :mod:`csv` module defines the following constants: Instructs :class:`reader` objects to interpret an empty (unquoted) string as ``None`` and to otherwise behave as :data:`QUOTE_NONNUMERIC`. + .. versionadded:: 3.12 + The :mod:`csv` module defines the following exception: