summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.request.rst
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-08-13 19:41:54 (GMT)
committerGitHub <noreply@github.com>2020-08-13 19:41:54 (GMT)
commitd3ded080482beae578faa704b13534a62d066f9f (patch)
tree7ca864cdf5ebac68481f2c794725df7df2519210 /Doc/library/urllib.request.rst
parent20ae565bd2d79425d5567c001ed8f89848d7d907 (diff)
downloadcpython-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/urllib.request.rst')
-rw-r--r--Doc/library/urllib.request.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index 288ce14..b37f230 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -946,7 +946,7 @@ tracking URIs for which authentication credentials should always be sent.
If *is_authenticated* is specified as ``True``, *realm* is ignored.
-.. method:: HTTPPasswordMgr.find_user_password(realm, authuri)
+.. method:: HTTPPasswordMgrWithPriorAuth.find_user_password(realm, authuri)
Same as for :class:`HTTPPasswordMgrWithDefaultRealm` objects