From: Skip Montanaro Date: Thu, 1 Feb 2024 03:11:16 +0000 (-0600) Subject: gh-67230: Add versionadded notes for QUOTE_NOTNULL and QUOTE_STRINGS (#114816) X-Git-Tag: v3.13.0a4~225 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=586057e9f80d57f16334c0eee8431931e4aa8cff;p=thirdparty%2FPython%2Fcpython.git gh-67230: Add versionadded notes for QUOTE_NOTNULL and QUOTE_STRINGS (#114816) As @GPHemsley pointed out, #29469 omitted `versionadded` notes for the 2 new items. --- 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: