From: Zackery Spytz Date: Sat, 2 Jun 2018 15:02:16 +0000 (-0600) Subject: bpo-23495: Correct the documentation for writerows() of csv Writer objects (GH-6316) X-Git-Tag: v3.8.0a1~1685 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a801cf164be7c62b6a6dba47ff91d6c3edb67729;p=python bpo-23495: Correct the documentation for writerows() of csv Writer objects (GH-6316) `writerows()` takes an iterable. --- diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index e1290d4c9b..08b8edc522 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -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: