summaryrefslogtreecommitdiff
path: root/Doc/extending
diff options
context:
space:
mode:
authorSanyam Khurana <8039608+CuriousLearner@users.noreply.github.com>2018-01-20 05:55:37 +0530
committerVictor Stinner <victor.stinner@gmail.com>2018-01-20 01:25:37 +0100
commit338cd83c5dceaed785f5bf613e2122f871908e2a (patch)
treef75ff3700e2f2c6a98b34728568e2e8a53cf0adf /Doc/extending
parent7464e87a6511d3626b04c9833a262a77b1f21e23 (diff)
downloadcpython-git-338cd83c5dceaed785f5bf613e2122f871908e2a.tar.gz
bpo-25910: Link redirections in docs (#1933)
Fixes some redirection links in docs.
Diffstat (limited to 'Doc/extending')
-rw-r--r--Doc/extending/extending.rst3
-rw-r--r--Doc/extending/index.rst2
2 files changed, 3 insertions, 2 deletions
diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst
index ea1c29a397..e02f7837b6 100644
--- a/Doc/extending/extending.rst
+++ b/Doc/extending/extending.rst
@@ -27,7 +27,8 @@ your system setup; details are given in later chapters.
avoid writing C extensions and preserve portability to other implementations.
For example, if your use case is calling C library functions or system calls,
you should consider using the :mod:`ctypes` module or the `cffi
- <https://cffi.readthedocs.org>`_ library rather than writing custom C code.
+ <https://cffi.readthedocs.io/>`_ library rather than writing
+ custom C code.
These modules let you write Python code to interface with C code and are more
portable between implementations of Python than writing and compiling a C
extension module.
diff --git a/Doc/extending/index.rst b/Doc/extending/index.rst
index 9eec8c273a..80594e357f 100644
--- a/Doc/extending/index.rst
+++ b/Doc/extending/index.rst
@@ -32,7 +32,7 @@ approaches to creating C and C++ extensions for Python.
.. seealso::
- `Python Packaging User Guide: Binary Extensions <https://packaging.python.org/en/latest/extensions/>`_
+ `Python Packaging User Guide: Binary Extensions <https://packaging.python.org/guides/packaging-binary-extensions/>`_
The Python Packaging User Guide not only covers several available
tools that simplify the creation of binary extensions, but also
discusses the various reasons why creating an extension module may be