diff options
author | Sanyam Khurana <8039608+CuriousLearner@users.noreply.github.com> | 2018-01-20 00:25:37 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2018-01-20 00:25:37 (GMT) |
commit | 338cd83c5dceaed785f5bf613e2122f871908e2a (patch) | |
tree | f75ff3700e2f2c6a98b34728568e2e8a53cf0adf /Doc/extending | |
parent | 7464e87a6511d3626b04c9833a262a77b1f21e23 (diff) | |
download | cpython-338cd83c5dceaed785f5bf613e2122f871908e2a.zip cpython-338cd83c5dceaed785f5bf613e2122f871908e2a.tar.gz cpython-338cd83c5dceaed785f5bf613e2122f871908e2a.tar.bz2 |
bpo-25910: Link redirections in docs (#1933)
Fixes some redirection links in docs.
Diffstat (limited to 'Doc/extending')
-rw-r--r-- | Doc/extending/extending.rst | 3 | ||||
-rw-r--r-- | Doc/extending/index.rst | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index ea1c29a..e02f783 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 9eec8c2..80594e3 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 |