diff options
author | Zackery Spytz <zspytz@gmail.com> | 2018-06-02 15:02:16 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2018-06-02 15:02:16 (GMT) |
commit | a801cf164be7c62b6a6dba47ff91d6c3edb67729 (patch) | |
tree | 38c6ee5ccc784699e5901d9acb49a745d6c83601 | |
parent | 00818c8ffd657f9ec727e366bfffd9c2135fa5ab (diff) | |
download | cpython-a801cf164be7c62b6a6dba47ff91d6c3edb67729.zip cpython-a801cf164be7c62b6a6dba47ff91d6c3edb67729.tar.gz cpython-a801cf164be7c62b6a6dba47ff91d6c3edb67729.tar.bz2 |
bpo-23495: Correct the documentation for writerows() of csv Writer objects (GH-6316)
`writerows()` takes an iterable.
-rw-r--r-- | Doc/library/csv.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index e1290d4..08b8edc 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: |