Show More
@@ -23,11 +23,11 b' Running user ``code``' | |||||
23 | ===================== |
|
23 | ===================== | |
24 |
|
24 | |||
25 | First, the ``code`` cell is transformed to expand ``%magic`` and ``!system`` |
|
25 | First, the ``code`` cell is transformed to expand ``%magic`` and ``!system`` | |
26 |
by ``IPython.core.inputtransformer2``. Then |
|
26 | commands by ``IPython.core.inputtransformer2``. Then expanded cell is compiled | |
27 | Python :func:`compile` function and executed. |
|
27 | using standard Python :func:`compile` function and executed. | |
28 |
|
28 | |||
29 | Not specific to IPython, all Python code can be compiled in one of three modes |
|
29 | Python :func:`compile` function provides ``mode`` argument to select one | |
30 | (see ``mode`` argument to the standard :func:`compile` function): |
|
30 | of three ways of compiling code: | |
31 |
|
31 | |||
32 | *single* |
|
32 | *single* | |
33 | Valid for a single interactive statement (though the source can contain |
|
33 | Valid for a single interactive statement (though the source can contain |
General Comments 0
You need to be logged in to leave comments.
Login now