From 1c763ce9c8c6b66f3e369005e491314ddf7b026c 2022-03-10 07:55:09 From: Matthias Bussonnier Date: 2022-03-10 07:55:09 Subject: [PATCH] Links cleanup, in particular peps have moved --- diff --git a/IPython/core/magics/osm.py b/IPython/core/magics/osm.py index 42ed876..41957a2 100644 --- a/IPython/core/magics/osm.py +++ b/IPython/core/magics/osm.py @@ -127,7 +127,7 @@ class OSMagics(Magics): Aliases expand Python variables just like system calls using ! or !! do: all expressions prefixed with '$' get expanded. For details of the semantic rules, see PEP-215: - https://www.python.org/dev/peps/pep-0215/. This is the library used by + https://peps.python.org/pep-0215/. This is the library used by IPython for variable expansion. If you want to access a true shell variable, an extra $ is necessary to prevent its expansion by IPython:: diff --git a/docs/source/links.txt b/docs/source/links.txt index 9379d1f..642389c 100644 --- a/docs/source/links.txt +++ b/docs/source/links.txt @@ -20,9 +20,6 @@ .. _ipython: https://ipython.org .. _`ipython manual`: https://ipython.org/documentation.html .. _ipython_github: http://github.com/ipython/ipython/ -.. _ipython_github_repo: http://github.com/ipython/ipython/ -.. _ipython_downloads: https://ipython.org/download.html -.. _ipython_pypi: http://pypi.python.org/pypi/ipython .. _nbviewer: http://nbviewer.ipython.org .. _ZeroMQ: http://zeromq.org @@ -35,8 +32,7 @@ .. _reST: http://docutils.sourceforge.net/rst.html .. _docutils: http://docutils.sourceforge.net .. _lyx: http://www.lyx.org -.. _pep8: http://www.python.org/dev/peps/pep-0008 -.. _numpy_coding_guide: https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt +.. _pep8: https://peps.python.org/pep-0008/ .. Licenses .. _GPL: http://www.gnu.org/licenses/gpl.html diff --git a/docs/source/whatsnew/version6.rst b/docs/source/whatsnew/version6.rst index 461132e..cb3b42d 100644 --- a/docs/source/whatsnew/version6.rst +++ b/docs/source/whatsnew/version6.rst @@ -277,7 +277,7 @@ automatically upgrade to the latest version compatible with your system. The ability to use only Python 3 on the code base of IPython brings a number of advantages. Most of the newly written code make use of `optional function type -annotation `_ leading to clearer code +annotation `_ leading to clearer code and better documentation. The total size of the repository has also decreased by about 1500 lines (for the diff --git a/examples/IPython Kernel/Importing Notebooks.ipynb b/examples/IPython Kernel/Importing Notebooks.ipynb index 8a0aac7..9d091aa 100644 --- a/examples/IPython Kernel/Importing Notebooks.ipynb +++ b/examples/IPython Kernel/Importing Notebooks.ipynb @@ -15,7 +15,7 @@ "This is made difficult by the fact that Notebooks are not plain Python files,\n", "and thus cannot be imported by the regular Python machinery.\n", "\n", - "Fortunately, Python provides some fairly sophisticated [hooks](http://www.python.org/dev/peps/pep-0302/) into the import machinery,\n", + "Fortunately, Python provides some fairly sophisticated [hooks](https://peps.python.org/pep-0302/) into the import machinery,\n", "so we can actually make IPython notebooks importable without much difficulty,\n", "and only using public APIs." ]