Commit af368596 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub

bpo-23495: Correct the documentation for writerows() of csv Writer objects (GH-6316)


`writerows()` takes an iterable.
(cherry picked from commit a801cf16)
Co-authored-by: default avatarZackery Spytz <zspytz@gmail.com>
parent 1d4be0a6
......@@ -453,8 +453,9 @@ read CSV files (assuming they support complex numbers at all).
.. method:: csvwriter.writerows(rows)
Write all the *rows* parameters (a list of *row* objects as described above) to
the writer's file object, formatted according to the current dialect.
Write all elements in *rows* (an iterable of *row* objects as described
above) to the writer's file object, formatted according to the current
dialect.
Writer objects have the following public attribute:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment