diff options
author | Victor Stinner <vstinner@python.org> | 2020-08-13 19:41:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-13 19:41:54 (GMT) |
commit | d3ded080482beae578faa704b13534a62d066f9f (patch) | |
tree | 7ca864cdf5ebac68481f2c794725df7df2519210 /Doc/library/token.rst | |
parent | 20ae565bd2d79425d5567c001ed8f89848d7d907 (diff) | |
download | cpython-d3ded080482beae578faa704b13534a62d066f9f.zip cpython-d3ded080482beae578faa704b13534a62d066f9f.tar.gz cpython-d3ded080482beae578faa704b13534a62d066f9f.tar.bz2 |
bpo-40204: Add :noindex: in the documentation (GH-21859)
Add :noindex: to duplicated documentation to fix "duplicate object
description" errors.
For example, fix this Sphinx 3 issue:
Doc/library/configparser.rst:1146: WARNING: duplicate object
description of configparser.ConfigParser.optionxform, other instance
in library/configparser, use :noindex: for one of them
Diffstat (limited to 'Doc/library/token.rst')
-rw-r--r-- | Doc/library/token.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/token.rst b/Doc/library/token.rst index f8ebb27..a1aceba 100644 --- a/Doc/library/token.rst +++ b/Doc/library/token.rst @@ -70,6 +70,7 @@ the :mod:`tokenize` module. .. data:: TYPE_COMMENT + :noindex: Token value indicating that a type comment was recognized. Such tokens are only produced when :func:`ast.parse()` is invoked with |