mirror of https://github.com/python/cpython
bpo-23495: Correct the documentation for writerows() of csv Writer objects (GH-6316)
`writerows()` takes an iterable.
This commit is contained in:
parent
00818c8ffd
commit
a801cf164b
|
@ -452,8 +452,9 @@ read CSV files (assuming they support complex numbers at all).
|
||||||
|
|
||||||
.. method:: csvwriter.writerows(rows)
|
.. method:: csvwriter.writerows(rows)
|
||||||
|
|
||||||
Write all the *rows* parameters (a list of *row* objects as described above) to
|
Write all elements in *rows* (an iterable of *row* objects as described
|
||||||
the writer's file object, formatted according to the current dialect.
|
above) to the writer's file object, formatted according to the current
|
||||||
|
dialect.
|
||||||
|
|
||||||
Writer objects have the following public attribute:
|
Writer objects have the following public attribute:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue