Skip to content

Commit 7beb521

Browse files
authored
Merge pull request #39 from samwyse/fix_issue_23041
Fix issue 23041
2 parents 9487a77 + f1bc87b commit 7beb521

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Doc/library/csv.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ The :mod:`csv` module defines the following constants:
327327

328328
Instructs :class:`writer` objects to quote all non-numeric fields.
329329

330-
Instructs :class:`reader` to convert all non-quoted fields to type *float*.
330+
Instructs :class:`reader` objects to convert all non-quoted fields to type *float*.
331331

332332

333333
.. data:: QUOTE_NONE
@@ -337,25 +337,25 @@ The :mod:`csv` module defines the following constants:
337337
character. If *escapechar* is not set, the writer will raise :exc:`Error` if
338338
any characters that require escaping are encountered.
339339

340-
Instructs :class:`reader` to perform no special processing of quote characters.
340+
Instructs :class:`reader` objects to perform no special processing of quote characters.
341341

342342
.. data:: QUOTE_NOTNULL
343343

344344
Instructs :class:`writer` objects to quote all fields which are not
345-
``None``. This is similar to QUOTE_ALL, except that if a
345+
``None``. This is similar to :data:`QUOTE_ALL`, except that if a
346346
field value is ``None`` an empty (unquoted) string is written.
347347

348-
Instructs :class:`reader` to interpret an empty (unquoted) field as None, and
349-
otherwise behave as QUOTE_ALL.
348+
Instructs :class:`reader` objects to interpret an empty (unquoted) field as None and
349+
to otherwise behave as :data:`QUOTE_ALL`.
350350

351351
.. data:: QUOTE_STRINGS
352352

353353
Instructs :class:`writer` objects to always place quotes around fields
354-
which are strings. This is similar to QUOTE_NONNUMERIC, except that if a
354+
which are strings. This is similar to :data:`QUOTE_NONNUMERIC`, except that if a
355355
field value is ``None`` an empty (unquoted) string is written.
356356

357-
Instructs :class:`reader` to interpret an empty (unquoted) string as None, and
358-
otherwise behave as QUOTE_NONNUMERIC.
357+
Instructs :class:`reader`objects to interpret an empty (unquoted) string as None and
358+
to otherwise behave as :data:`QUOTE_NONNUMERIC`.
359359

360360
The :mod:`csv` module defines the following exception:
361361

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Add QUOTE_STRINGS and QUOTE_NOTNULL to the suite of csv module quoting
1+
Add :data:`~csv.QUOTE_STRINGS` and :data:`~csv.QUOTE_NOTNULL` to the suite of :mod:`csv` module quoting
22
styles.

0 commit comments

Comments
 (0)