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

`writerows()` takes an iterable.
(cherry picked from commit a801cf164b)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-06-02 08:40:00 -07:00 committed by GitHub
parent 57f1f5b91b
commit 949da9e44b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -452,8 +452,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: