summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRĂ©mi Lapeyre <remi.lapeyre@henki.fr>2019-05-10 01:50:11 (GMT)
committerVictor Stinner <vstinner@redhat.com>2019-05-10 01:50:11 (GMT)
commitfce5ff1e18b522cf52379934a6560583d840e7f9 (patch)
tree89d1c624372e8840a1c843e4e78f16088e32df1a /Misc
parentd237b3f0f61990c972b84c45eb4fe137db51a6a7 (diff)
downloadcpython-fce5ff1e18b522cf52379934a6560583d840e7f9.zip
cpython-fce5ff1e18b522cf52379934a6560583d840e7f9.tar.gz
cpython-fce5ff1e18b522cf52379934a6560583d840e7f9.tar.bz2
bpo-27497: Add return value to csv.DictWriter.writeheader (GH-12306)
csv.DictWriter.writeheader() now returns the return value of the underlying csv.Writer.writerow() method. Patch contributed by Ashish Nitin Patil.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-03-13-10-57-41.bpo-27497.JDmIe_.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-03-13-10-57-41.bpo-27497.JDmIe_.rst b/Misc/NEWS.d/next/Library/2019-03-13-10-57-41.bpo-27497.JDmIe_.rst
new file mode 100644
index 0000000..f6da114
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-03-13-10-57-41.bpo-27497.JDmIe_.rst
@@ -0,0 +1,3 @@
+:meth:`csv.DictWriter.writeheader` now returns the return value of the
+underlying :meth:`csv.Writer.writerow` method. Patch contributed by Ashish
+Nitin Patil.