Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Doc/library/csv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,12 @@ The :mod:`csv` module defines the following classes:
information for how to handle doublequotes, whitespace, delimiters, etc.
Due to the lack of a strict CSV specification, different applications
produce subtly different CSV data. :class:`Dialect` instances define how
:class:`reader` and :class:`writer` instances behave.
:class:`reader` and :class:`writer` instances behave. Note that the default
Comment thread
terryjreedy marked this conversation as resolved.
values given for the attributes below are for the :class:`excel` dialect, not
the :class:`Dialect` class itself, because :class:`excel` is the default
dialect used by the :mod:`csv` module. When subclassing the :class:`Dialect`
class, all of the following attributes should be specified by your subclass
because :class:`Dialect` defaults them all to :const:`None`.

All available :class:`Dialect` names are returned by :func:`list_dialects`,
and they can be registered with specific :class:`reader` and :class:`writer`
Expand Down