Show More
@@ -0,0 +1,1 b'' | |||||
|
1 | * The ``%cython`` magic, is now part of the Cython module. Use `%load_ext Cython` with a version of Cython >= 0.21 to have acces to the magic now. |
@@ -32,7 +32,7 b' def load_ipython_extension(ip):' | |||||
32 | """Load the extension in IPython.""" |
|
32 | """Load the extension in IPython.""" | |
33 |
|
33 | |||
34 | print("""The Cython magic has been move to the Cython package, hence """) |
|
34 | print("""The Cython magic has been move to the Cython package, hence """) | |
35 |
print("""`%load_ext cythonmagic` is deprecated; Please use `%load_ext |
|
35 | print("""`%load_ext cythonmagic` is deprecated; Please use `%load_ext Cython` instead.""") | |
36 |
|
36 | |||
37 | if Cython is None or tuple(map(int,Cython.__version__.split('.'))) < (0,21) : |
|
37 | if Cython is None or tuple(map(int,Cython.__version__.split('.'))) < (0,21) : | |
38 | print("You need Cython version >=0.21 to use the Cython magic") |
|
38 | print("You need Cython version >=0.21 to use the Cython magic") |
@@ -101,4 +101,4 b' Extensions bundled with IPython' | |||||
101 | ``%load_ext rpy2.ipython`` to load it, and see :mod:`rpy2.ipython.rmagic` for |
|
101 | ``%load_ext rpy2.ipython`` to load it, and see :mod:`rpy2.ipython.rmagic` for | |
102 | details of how to use it. |
|
102 | details of how to use it. | |
103 | * ``cythonmagic``used to be bundled, but is now part of `cython <https://github.com/cython/cython/>`_ |
|
103 | * ``cythonmagic``used to be bundled, but is now part of `cython <https://github.com/cython/cython/>`_ | |
104 |
Use ``%load_ext |
|
104 | Use ``%load_ext Cython`` to load it. |
@@ -41,7 +41,7 b' extend, :meth:`~IPython.config.loader.LazyConfigValue.prepend` (like' | |||||
41 | extend, but at the front), add and update (which works both for dicts |
|
41 | extend, but at the front), add and update (which works both for dicts | |
42 | and sets):: |
|
42 | and sets):: | |
43 |
|
43 | |||
44 |
c.InteractiveShellApp.extensions.append(' |
|
44 | c.InteractiveShellApp.extensions.append('Cython') | |
45 |
|
45 | |||
46 | .. versionadded:: 2.0 |
|
46 | .. versionadded:: 2.0 | |
47 | list, dict and set methods for config values |
|
47 | list, dict and set methods for config values |
General Comments 0
You need to be logged in to leave comments.
Login now