summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSam Ezeh <sam.z.ezeh@gmail.com>2022-08-25 10:13:24 (GMT)
committerGitHub <noreply@github.com>2022-08-25 10:13:24 (GMT)
commitcd492d43a2980faf0ef4a3f99c665023a506414c (patch)
treec5758ce600d818dfdad9b1cbacb5b62aa3adc7a1 /Misc
parentc09fa7542c6d9b724e423b14c6fb5f4338eabd12 (diff)
downloadcpython-cd492d43a2980faf0ef4a3f99c665023a506414c.zip
cpython-cd492d43a2980faf0ef4a3f99c665023a506414c.tar.gz
cpython-cd492d43a2980faf0ef4a3f99c665023a506414c.tar.bz2
gh-76728: Coerce DictReader and DictWriter fieldnames argument to a list (GH-32225)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-04-01-09-43-54.bpo-32547.NIUiNC.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-04-01-09-43-54.bpo-32547.NIUiNC.rst b/Misc/NEWS.d/next/Library/2022-04-01-09-43-54.bpo-32547.NIUiNC.rst
new file mode 100644
index 0000000..4599b73
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-04-01-09-43-54.bpo-32547.NIUiNC.rst
@@ -0,0 +1 @@
+The constructors for :class:`~csv.DictWriter` and :class:`~csv.DictReader` now coerce the ``fieldnames`` argument to a :class:`list` if it is an iterator.