File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -434,9 +434,10 @@ Writer Objects
434
434
435
435
:class: `Writer ` objects (:class: `DictWriter ` instances and objects returned by
436
436
the :func: `writer ` function) have the following public methods. A *row * must be
437
- an iterable of strings or numbers for :class: `Writer ` objects and a dictionary
438
- mapping fieldnames to strings or numbers (by passing them through :func: `str `
439
- first) for :class: `DictWriter ` objects. Note that complex numbers are written
437
+ an iterable of strings, numbers or bytes for :class: `Writer ` objects and a dictionary
438
+ mapping fieldnames to strings, numbers or bytes (by passing them through :func: `str `
439
+ first) for :class: `DictWriter ` objects. Note that bytes will be written according to
440
+ the encoding scheme of the output file. Also note that complex numbers are written
440
441
out surrounded by parens. This may cause some problems for other programs which
441
442
read CSV files (assuming they support complex numbers at all).
442
443
You can’t perform that action at this time.
0 commit comments