[New-bugs-announce] [issue14880] csv.reader and .writer use wrong kwargs notation in 2.7 docs

Hynek Schlawack report at bugs.python.org
Tue May 22 09:07:36 CEST 2012


New submission from Hynek Schlawack <hs at ox.cx>:

It says

> csv.reader(csvfile[, dialect='excel'][, fmtparam])
> csv.writer(csvfile[, dialect='excel'][, fmtparam])

in 2.7. I presume it should be like in 3.x:

> csv.reader(csvfile, dialect='excel', **fmtparams)
> csv.writer(csvfile, dialect='excel', **fmtparams)

Or am I missing something?

(I found argument renaming to be too invasive for my default-args-notation ticket #14804)

----------
assignee: docs at python
components: Documentation
keywords: easy
messages: 161332
nosy: docs at python, hynek
priority: normal
severity: normal
status: open
title: csv.reader and .writer use wrong kwargs notation in 2.7 docs
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14880>
_______________________________________


More information about the New-bugs-announce mailing list