Skip to content

Commit 38fdff9

Browse files
ambvarhadthedev
andauthored
[3.10] gh-93851: Fix all broken links in Doc/ (GH-93853) (GH-94078)
(cherry picked from commit f62ff97) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
1 parent 54250e7 commit 38fdff9

28 files changed

+58
-47
lines changed

Doc/distutils/apiref.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ API Reference
1111
and other APIs, makes the API consistent across different Python versions,
1212
and is hence recommended over using ``distutils`` directly.
1313

14-
.. _New and changed setup.py arguments in setuptools: https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords
14+
.. _New and changed setup.py arguments in setuptools: https://web.archive.org/web/20210614192516/https://setuptools.pypa.io/en/stable/userguide/keywords.html
1515

1616
.. include:: ./_setuptools_disclaimer.rst
1717

Doc/faq/library.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ A summary of available frameworks is maintained by Paul Boddie at
670670
https://wiki.python.org/moin/WebProgramming\ .
671671
672672
Cameron Laird maintains a useful set of pages about Python web technologies at
673-
http://phaseit.net/claird/comp.lang.python/web_python.
673+
https://web.archive.org/web/20210224183619/http://phaseit.net/claird/comp.lang.python/web_python.
674674
675675
676676
How can I mimic CGI form submission (METHOD=POST)?

Doc/faq/programming.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Are there tools to help find bugs or perform static analysis?
5656

5757
Yes.
5858

59-
`Pylint <https://www.pylint.org/>`_ and
59+
`Pylint <https://pylint.pycqa.org/en/latest/index.html>`_ and
6060
`Pyflakes <https://github.com/PyCQA/pyflakes>`_ do basic checking that will
6161
help you catch bugs sooner.
6262

Doc/howto/urllib2.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
HOWTO Fetch Internet Resources Using The urllib Package
55
***********************************************************
66

7-
:Author: `Michael Foord <http://www.voidspace.org.uk/python/index.shtml>`_
7+
:Author: `Michael Foord <https://agileabstractions.com/>`_
88

99
.. note::
1010

1111
There is a French translation of an earlier revision of this
1212
HOWTO, available at `urllib2 - Le Manuel manquant
13-
<http://www.voidspace.org.uk/python/articles/urllib2_francais.shtml>`_.
13+
<https://web.archive.org/web/20200910051922/http://www.voidspace.org.uk/python/articles/urllib2_francais.shtml>`_.
1414

1515

1616

@@ -22,7 +22,7 @@ Introduction
2222
You may also find useful the following article on fetching web resources
2323
with Python:
2424

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

2727
A tutorial on *Basic Authentication*, with examples in Python.
2828

Doc/installing/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ It is possible that ``pip`` does not get installed by default. One potential fix
214214
python -m ensurepip --default-pip
215215

216216
There are also additional resources for `installing pip.
217-
<https://packaging.python.org/tutorials/installing-packages/#install-pip-setuptools-and-wheel>`__
217+
<https://packaging.python.org/en/latest/tutorials/installing-packages/#ensure-pip-setuptools-and-wheel-are-up-to-date>`__
218218

219219

220220
Installing binary extensions

Doc/library/datetime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2584,7 +2584,7 @@ Notes:
25842584
many other calendar systems.
25852585
25862586
.. [#] See R. H. van Gent's `guide to the mathematics of the ISO 8601 calendar
2587-
<https://www.staff.science.uu.nl/~gent0113/calendar/isocalendar.htm>`_
2587+
<https://web.archive.org/web/20220531051136/https://webspace.science.uu.nl/~gent0113/calendar/isocalendar.htm>`_
25882588
for a good explanation.
25892589
25902590
.. [#] Passing ``datetime.strptime('Feb 29', '%b %d')`` will fail since ``1900`` is not a leap year.

Doc/library/hashlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ function:
627627
hash function used in the protocol summarily stops this type of attack.
628628

629629
(`The Skein Hash Function Family
630-
<http://www.skein-hash.info/sites/default/files/skein1.3.pdf>`_,
630+
<https://www.schneier.com/wp-content/uploads/2016/02/skein.pdf>`_,
631631
p. 21)
632632

633633
BLAKE2 can be personalized by passing bytes to the *person* argument::

Doc/library/html.entities.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ This module defines four dictionaries, :data:`html5`,
4444

4545
.. rubric:: Footnotes
4646

47-
.. [#] See https://html.spec.whatwg.org/multipage/syntax.html#named-character-references
47+
.. [#] See https://html.spec.whatwg.org/multipage/named-characters.html#named-character-references

Doc/library/importlib.metadata.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Inspect the resolved entry point::
136136
The ``group`` and ``name`` are arbitrary values defined by the package author
137137
and usually a client will wish to resolve all entry points for a particular
138138
group. Read `the setuptools docs
139-
<https://setuptools.readthedocs.io/en/latest/setuptools.html#dynamic-discovery-of-services-and-plugins>`_
139+
<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>`_
140140
for more information on entry points, their definition, and usage.
141141

142142
*Compatibility Note*

Doc/library/math.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ Special functions
559559

560560
The :func:`erf` function can be used to compute traditional statistical
561561
functions such as the `cumulative standard normal distribution
562-
<https://en.wikipedia.org/wiki/Normal_distribution#Cumulative_distribution_function>`_::
562+
<https://en.wikipedia.org/wiki/Normal_distribution#Cumulative_distribution_functions>`_::
563563

564564
def phi(x):
565565
'Cumulative distribution function for the standard normal distribution'

0 commit comments

Comments
 (0)