From 115ad5e95745c0eb9431e2a935d3df4a685ec092 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Wed, 12 Apr 2023 18:14:22 -0500 Subject: [PATCH 1/3] Update 3.12.rst Add blurb about changes to :mod:`csv`. --- Doc/whatsnew/3.12.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index c7fc7d229cd753..fcd1e1724b5aa2 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -253,6 +253,13 @@ asyncio * :func:`asyncio.wait` now accepts generators yielding tasks. (Contributed by Kumar Aditya in :gh:`78530`.) +csv +--- + +* Added :data:`QUOTE_NOTNULL` and :data:`QUOTE_STRINGS` flags to + provide finer control treatment of ``None`` and empty strings by + :class:`reader` and :class:`writer` objects. + inspect ------- From dcef251501ba199a4c31ca299d948cb4ca6a587e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric?= Date: Wed, 12 Apr 2023 19:32:39 -0400 Subject: [PATCH 2/3] fix references --- Doc/whatsnew/3.12.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index fcd1e1724b5aa2..b119528d386d19 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -256,9 +256,9 @@ asyncio csv --- -* Added :data:`QUOTE_NOTNULL` and :data:`QUOTE_STRINGS` flags to +* Add :data:`~csv.QUOTE_NOTNULL` and :data:`~csv.QUOTE_STRINGS` flags to provide finer control treatment of ``None`` and empty strings by - :class:`reader` and :class:`writer` objects. + :class:`~csv.reader` and :class:`~csv.writer` objects. inspect ------- From c8ab3201aaf9da9331f894eae347232dda13ff80 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Wed, 12 Apr 2023 18:55:19 -0500 Subject: [PATCH 3/3] fix wording --- Doc/whatsnew/3.12.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index b119528d386d19..4165b16ba76441 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -257,7 +257,7 @@ csv --- * Add :data:`~csv.QUOTE_NOTNULL` and :data:`~csv.QUOTE_STRINGS` flags to - provide finer control treatment of ``None`` and empty strings by + provide finer grained control of ``None`` and empty strings by :class:`~csv.reader` and :class:`~csv.writer` objects. inspect