]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-67230: Add versionadded notes for QUOTE_NOTNULL and QUOTE_STRINGS (#114816)
authorSkip Montanaro <skip.montanaro@gmail.com>
Thu, 1 Feb 2024 03:11:16 +0000 (21:11 -0600)
committerGitHub <noreply@github.com>
Thu, 1 Feb 2024 03:11:16 +0000 (22:11 -0500)
As @GPHemsley pointed out, #29469 omitted `versionadded` notes for the 2 new items.

Doc/library/csv.rst

index 66888c22b7cc28a4398b04cd4d25677d7febe900..fd62b225fcebb80ca6c7d5efd2f53ee225481c20 100644 (file)
@@ -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: