]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: fix broken links (#116651)
authorMariusz Felisiak <felisiak.mariusz@gmail.com>
Wed, 13 Mar 2024 04:19:33 +0000 (05:19 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Mar 2024 04:19:33 +0000 (21:19 -0700)
Doc/faq/extending.rst
Doc/library/math.rst
Doc/library/pathlib.rst
Doc/library/sqlite3.rst
Doc/library/venv.rst

index 2a8b976925d042cbd6099ed7d8190318f1dd06c9..1cff2c4091df0600e69679dea2629dac694fee27 100644 (file)
@@ -50,7 +50,7 @@ to learn Python's C API.
 If you need to interface to some C or C++ library for which no Python extension
 currently exists, you can try wrapping the library's data types and functions
 with a tool such as `SWIG <https://www.swig.org>`_.  `SIP
-<https://riverbankcomputing.com/software/sip/intro>`__, `CXX
+<https://github.com/Python-SIP/sip>`__, `CXX
 <https://cxx.sourceforge.net/>`_ `Boost
 <https://www.boost.org/libs/python/doc/index.html>`_, or `Weave
 <https://github.com/scipy/weave>`_ are also
index 3c850317f608582dad116d2552c23aca058c533d..93755be717e2ef430464d31c8aa4a5e60e9ef128 100644 (file)
@@ -592,7 +592,7 @@ Special functions
 
    The :func:`erf` function can be used to compute traditional statistical
    functions such as the `cumulative standard normal distribution
-   <https://en.wikipedia.org/wiki/Normal_distribution#Cumulative_distribution_functions>`_::
+   <https://en.wikipedia.org/wiki/Cumulative_distribution_function>`_::
 
      def phi(x):
          'Cumulative distribution function for the standard normal distribution'
index 4b461a5d4a2949ce845176bb8ba9c6dda355a86f..9041f37bd668fa2dc78b998bb9fb0b9c70d9b181 100644 (file)
@@ -7,7 +7,7 @@
 
 .. versionadded:: 3.4
 
-**Source code:** :source:`Lib/pathlib.py`
+**Source code:** :source:`Lib/pathlib/`
 
 .. index:: single: path; operations
 
index 87d5ef1e42ca3acb499e0ac34a428481b8570e9c..e76dc91bf2d875ff043cc42d3e990e6e75c75514 100644 (file)
@@ -1135,7 +1135,7 @@ Connection objects
       .. versionchanged:: 3.12
          Added the *entrypoint* parameter.
 
-   .. _Loading an Extension: https://www.sqlite.org/loadext.html#loading_an_extension_
+   .. _Loading an Extension: https://www.sqlite.org/loadext.html#loading_an_extension
 
    .. method:: iterdump(*, filter=None)
 
index 2e7ff345a062342a0abad3268efb77247cf29216..a4273f97b7a8dbdb59a3d502997a92572af01dd8 100644 (file)
@@ -54,7 +54,7 @@ See :pep:`405` for more background on Python virtual environments.
 .. seealso::
 
    `Python Packaging User Guide: Creating and using virtual environments
-   <https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment>`__
+   <https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#create-and-use-virtual-environments>`__
 
 .. include:: ../includes/wasm-notavail.rst