[New-bugs-announce] [issue34713] csvwriter.writerow()'s return type is undocumented

Nicholas Chammas report at bugs.python.org
Mon Sep 17 13:14:05 EDT 2018


New submission from Nicholas Chammas <nicholas.chammas at gmail.com>:

It _looks_ like csvwriter.writerow() returns the number of bytes (or is it characters?) written. However, there is no documentation of this:

https://docs.python.org/3.7/library/csv.html#csv.csvwriter.writerow

Is this behavior part of the method's "contract"? And if so, shouldn't we document it?

The same goes for csvwriter.writerows().

----------
assignee: docs at python
components: Documentation, Library (Lib)
messages: 325557
nosy: docs at python, nchammas
priority: normal
severity: normal
status: open
title: csvwriter.writerow()'s return type is undocumented
type: enhancement
versions: Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34713>
_______________________________________


More information about the New-bugs-announce mailing list