Show More
@@ -127,7 +127,7 b' class OSMagics(Magics):' | |||||
127 | Aliases expand Python variables just like system calls using ! or !! |
|
127 | Aliases expand Python variables just like system calls using ! or !! | |
128 | do: all expressions prefixed with '$' get expanded. For details of |
|
128 | do: all expressions prefixed with '$' get expanded. For details of | |
129 | the semantic rules, see PEP-215: |
|
129 | the semantic rules, see PEP-215: | |
130 |
https:// |
|
130 | https://peps.python.org/pep-0215/. This is the library used by | |
131 | IPython for variable expansion. If you want to access a true shell |
|
131 | IPython for variable expansion. If you want to access a true shell | |
132 | variable, an extra $ is necessary to prevent its expansion by |
|
132 | variable, an extra $ is necessary to prevent its expansion by | |
133 | IPython:: |
|
133 | IPython:: |
@@ -20,9 +20,6 b'' | |||||
20 | .. _ipython: https://ipython.org |
|
20 | .. _ipython: https://ipython.org | |
21 | .. _`ipython manual`: https://ipython.org/documentation.html |
|
21 | .. _`ipython manual`: https://ipython.org/documentation.html | |
22 | .. _ipython_github: http://github.com/ipython/ipython/ |
|
22 | .. _ipython_github: http://github.com/ipython/ipython/ | |
23 | .. _ipython_github_repo: http://github.com/ipython/ipython/ |
|
|||
24 | .. _ipython_downloads: https://ipython.org/download.html |
|
|||
25 | .. _ipython_pypi: http://pypi.python.org/pypi/ipython |
|
|||
26 | .. _nbviewer: http://nbviewer.ipython.org |
|
23 | .. _nbviewer: http://nbviewer.ipython.org | |
27 |
|
24 | |||
28 | .. _ZeroMQ: http://zeromq.org |
|
25 | .. _ZeroMQ: http://zeromq.org | |
@@ -35,8 +32,7 b'' | |||||
35 | .. _reST: http://docutils.sourceforge.net/rst.html |
|
32 | .. _reST: http://docutils.sourceforge.net/rst.html | |
36 | .. _docutils: http://docutils.sourceforge.net |
|
33 | .. _docutils: http://docutils.sourceforge.net | |
37 | .. _lyx: http://www.lyx.org |
|
34 | .. _lyx: http://www.lyx.org | |
38 |
.. _pep8: http |
|
35 | .. _pep8: https://peps.python.org/pep-0008/ | |
39 | .. _numpy_coding_guide: https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt |
|
|||
40 |
|
36 | |||
41 | .. Licenses |
|
37 | .. Licenses | |
42 | .. _GPL: http://www.gnu.org/licenses/gpl.html |
|
38 | .. _GPL: http://www.gnu.org/licenses/gpl.html |
@@ -277,7 +277,7 b' automatically upgrade to the latest version compatible with your system.' | |||||
277 |
|
277 | |||
278 | The ability to use only Python 3 on the code base of IPython brings a number |
|
278 | The ability to use only Python 3 on the code base of IPython brings a number | |
279 | of advantages. Most of the newly written code make use of `optional function type |
|
279 | of advantages. Most of the newly written code make use of `optional function type | |
280 |
annotation <https:// |
|
280 | annotation <https://peps.python.org/pep-0484/>`_ leading to clearer code | |
281 | and better documentation. |
|
281 | and better documentation. | |
282 |
|
282 | |||
283 | The total size of the repository has also decreased by about 1500 lines (for the |
|
283 | The total size of the repository has also decreased by about 1500 lines (for the |
@@ -15,7 +15,7 b'' | |||||
15 | "This is made difficult by the fact that Notebooks are not plain Python files,\n", |
|
15 | "This is made difficult by the fact that Notebooks are not plain Python files,\n", | |
16 | "and thus cannot be imported by the regular Python machinery.\n", |
|
16 | "and thus cannot be imported by the regular Python machinery.\n", | |
17 | "\n", |
|
17 | "\n", | |
18 |
"Fortunately, Python provides some fairly sophisticated [hooks](http |
|
18 | "Fortunately, Python provides some fairly sophisticated [hooks](https://peps.python.org/pep-0302/) into the import machinery,\n", | |
19 | "so we can actually make IPython notebooks importable without much difficulty,\n", |
|
19 | "so we can actually make IPython notebooks importable without much difficulty,\n", | |
20 | "and only using public APIs." |
|
20 | "and only using public APIs." | |
21 | ] |
|
21 | ] |
General Comments 0
You need to be logged in to leave comments.
Login now