From 3056f491136b8fdbd2977187fb27c34d321e061e Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Wed, 31 Jan 2024 12:26:47 -0600 Subject: [PATCH] Add versionadded notes for QUOTE_NOTNULL and QUOTE_STRINGS @GPHemsley pointed out that with the recent changes in #29469, two new data items failed to get `versionadded` notes. --- Doc/library/csv.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 66888c22b7cc28..fd62b225fcebb8 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: