]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-27497: Add return value to csv.DictWriter.writeheader (GH-12306)
authorRémi Lapeyre <remi.lapeyre@henki.fr>
Fri, 10 May 2019 01:50:11 +0000 (03:50 +0200)
committerVictor Stinner <vstinner@redhat.com>
Fri, 10 May 2019 01:50:11 +0000 (03:50 +0200)
commitfce5ff1e18b522cf52379934a6560583d840e7f9
tree89d1c624372e8840a1c843e4e78f16088e32df1a
parentd237b3f0f61990c972b84c45eb4fe137db51a6a7
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.
Doc/library/csv.rst
Lib/csv.py
Lib/test/test_csv.py
Misc/NEWS.d/next/Library/2019-03-13-10-57-41.bpo-27497.JDmIe_.rst [new file with mode: 0644]