[docs] [issue14880] csv.reader and .writer use wrong kwargs notation in 2.7 docs

Hynek Schlawack report at bugs.python.org
Tue Aug 28 12:19:59 CEST 2012


Hynek Schlawack added the comment:
It seems correct like that:
static PyObject *
csv_register_dialect(PyObject *module, PyObject *args, PyObject *kwargs)
{
 PyObject *name_obj, *dialect_obj = NULL;
 PyObject *dialect;
 if (!PyArg_UnpackTuple(args, "", 1, 2, &name_obj, &dialect_obj))
 return NULL;
Therefore going to commit.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14880>
_______________________________________


More information about the docs mailing list

AltStyle によって変換されたページ (->オリジナル) /