Skip to content

Commit 4601482

Browse files
committed
Use an explicitly named link
Docutils 0.22 does not allow referencing a link that was implicitly named earlier in the document, it complains: ERROR: Duplicate target name, cannot be used as a unique reference: "basic authentication".
1 parent 9695944 commit 4601482

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Doc/howto/urllib2.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ Introduction
1515
You may also find useful the following article on fetching web resources
1616
with Python:
1717

18-
* `Basic Authentication <https://web.archive.org/web/20201215133350/http://www.voidspace.org.uk/python/articles/authentication.shtml>`_
18+
* `Basic Authentication`_
1919

20-
A tutorial on *Basic Authentication*, with examples in Python.
20+
A tutorial on *Basic Authentication*, with examples in Python.
21+
22+
.. _Basic Authentication: https://web.archive.org/web/20201215133350/http://www.voidspace.org.uk/python/articles/authentication.shtml
2123

2224
**urllib.request** is a Python module for fetching URLs
2325
(Uniform Resource Locators). It offers a very simple interface, in the form of

0 commit comments

Comments
 (0)