summaryrefslogtreecommitdiffstats
path: root/Doc/library/csv.rst
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-12-13 09:02:20 (GMT)
committerGitHub <noreply@github.com>2023-12-13 09:02:20 (GMT)
commit51858aa60689b102aefcd7bb813677f6dca64fad (patch)
tree9c0dce4f6371bc51ca3036ba319e275f59c69f70 /Doc/library/csv.rst
parentb8a6eeec390ec3ff619bab59afd9b66e5d90725f (diff)
downloadcpython-51858aa60689b102aefcd7bb813677f6dca64fad.zip
cpython-51858aa60689b102aefcd7bb813677f6dca64fad.tar.gz
cpython-51858aa60689b102aefcd7bb813677f6dca64fad.tar.bz2
[3.11] gh-101100: Fix Sphinx warning in references with asterisks (GH-113029) (#113044)
Diffstat (limited to 'Doc/library/csv.rst')
-rw-r--r--Doc/library/csv.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst
index 52f7630..3983d7f 100644
--- a/Doc/library/csv.rst
+++ b/Doc/library/csv.rst
@@ -305,6 +305,8 @@ An example for :class:`Sniffer` use::
# ... process CSV file contents here ...
+.. _csv-constants:
+
The :mod:`csv` module defines the following constants:
.. data:: QUOTE_ALL
@@ -410,8 +412,8 @@ Dialects support the following attributes:
.. attribute:: Dialect.quoting
Controls when quotes should be generated by the writer and recognised by the
- reader. It can take on any of the :const:`QUOTE_\*` constants (see section
- :ref:`csv-contents`) and defaults to :const:`QUOTE_MINIMAL`.
+ reader. It can take on any of the :ref:`QUOTE_\* constants <csv-constants>`
+ and defaults to :const:`QUOTE_MINIMAL`.
.. attribute:: Dialect.skipinitialspace