Skip to content

Commit 70af5f9

Browse files
committed
Apply Brandon Milam's patch about csv doc
1 parent 355bae8 commit 70af5f9

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Doc/library/csv.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,12 @@ single :meth:`validate` method. When creating :class:`reader` or
329329
the :class:`Dialect` class as the dialect parameter. In addition to, or instead
330330
of, the *dialect* parameter, the programmer can also specify individual
331331
formatting parameters, which have the same names as the attributes defined below
332-
for the :class:`Dialect` class.
332+
for the :class:`Dialect` class. Note that the default values given
333+
for the attributes below are for the :class:`excel` dialect, not the :class:`Dialect`
334+
class itself, because :class:`excel` is the default dialect used by the :mod:`csv`
335+
module. When subclassing the :class:`Dialect` class, all of the following attributes
336+
should be specified by your subclass because :class:`Dialect` defaults them all to
337+
:const:`None`.
333338

334339
Dialects support the following attributes:
335340

0 commit comments

Comments
 (0)