summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-06-05 12:17:51 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2015-06-05 12:17:51 (GMT)
commit12b50ce4cb40bebfa92e0abae958c4fe14b63f3d (patch)
treebd11f880bfac30debde3f08558c2bd47e51c9806 /Doc/library
parent25587742f6a9dd7d88ee7f7ca8d32c6f756a4198 (diff)
downloadcpython-12b50ce4cb40bebfa92e0abae958c4fe14b63f3d.zip
cpython-12b50ce4cb40bebfa92e0abae958c4fe14b63f3d.tar.gz
cpython-12b50ce4cb40bebfa92e0abae958c4fe14b63f3d.tar.bz2
Issue #23659: Document **fmtparams in csv.register_dialect docstring.
Initial patch by Brandon Milam.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/csv.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst
index 9f7b58a..313dce0 100644
--- a/Doc/library/csv.rst
+++ b/Doc/library/csv.rst
@@ -108,7 +108,7 @@ The :mod:`csv` module defines the following functions:
spamwriter.writerow(['Spam', 'Lovely Spam', 'Wonderful Spam'])
-.. function:: register_dialect(name[, dialect], **fmtparams)
+.. function:: register_dialect(name[, dialect[, **fmtparams]])
Associate *dialect* with *name*. *name* must be a string. The
dialect can be specified either by passing a sub-class of :class:`Dialect`, or