Skip to content

Commit c5e3865

Browse files
committed
csv_register_dialect Py_RETURN_NONE
1 parent b07a267 commit c5e3865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_csv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1735,7 +1735,7 @@ PyDoc_STRVAR(csv_writer_doc,
17351735

17361736
PyDoc_STRVAR(csv_register_dialect_doc,
17371737
"Create a mapping from a string name to a dialect class.\n"
1738-
" dialect = csv.register_dialect(name[, dialect[, **fmtparams]])");
1738+
" csv.register_dialect(name[, dialect[, **fmtparams]])");
17391739

17401740
static struct PyMethodDef csv_methods[] = {
17411741
{ "reader", _PyCFunction_CAST(csv_reader),

0 commit comments

Comments
 (0)