[docs] [issue34713] csvwriter.writerow()'s return type is undocumented
Nicholas Chammas
report at bugs.python.org
Mon Sep 17 13:20:27 EDT 2018
Nicholas Chammas <nicholas.chammas at gmail.com> added the comment:
Looks like it's bytes written, not characters:
```
>>> import csv
>>> with open('test.csv', 'w', newline='') as csv_file:
... csv_writer = csv.writer(
... csv_file,
... dialect='unix',
... )
... csv_writer.writerow('야 너') # 3 characters
...
12
```
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34713>
_______________________________________
More information about the docs
mailing list