Show More
@@ -9,7 +9,7 b' Unless expressed otherwise all of the construct you will see here will raise a' | |||||
9 | ``SyntaxError`` if run in a pure Python shell, or if executing in a Python |
|
9 | ``SyntaxError`` if run in a pure Python shell, or if executing in a Python | |
10 | script. |
|
10 | script. | |
11 |
|
11 | |||
12 |
Each of these features are describe more in detail |
|
12 | Each of these features are described more in detail in further part of the documentation. | |
13 |
|
13 | |||
14 |
|
14 | |||
15 | Quick overview: |
|
15 | Quick overview: | |
@@ -58,7 +58,7 b' All the following construct are valid IPython syntax:' | |||||
58 | ...: print $months[0]; |
|
58 | ...: print $months[0]; | |
59 |
|
59 | |||
60 |
|
60 | |||
61 | Each of these construct is compile by IPython into valid python code and will |
|
61 | Each of these construct is compiled by IPython into valid python code and will | |
62 | do most of the time what you expect it will do. Let see each of these example |
|
62 | do most of the time what you expect it will do. Let see each of these example | |
63 | in more detail. |
|
63 | in more detail. | |
64 |
|
64 | |||
@@ -207,7 +207,7 b' under the hood python function. The syntax and assignment possibility are' | |||||
207 | similar to the one with the bang (``!``) syntax, but with more flexibility and |
|
207 | similar to the one with the bang (``!``) syntax, but with more flexibility and | |
208 | power. Magic function start with a percent sign (``%``) or double percent (``%%``). |
|
208 | power. Magic function start with a percent sign (``%``) or double percent (``%%``). | |
209 |
|
209 | |||
210 | A magic call with a sign percent will act only one line: |
|
210 | A magic call with a sign percent will act only on one line: | |
211 |
|
211 | |||
212 | .. code-block:: ipython |
|
212 | .. code-block:: ipython | |
213 |
|
213 | |||
@@ -224,7 +224,7 b' And support assignment:' | |||||
224 | In [2]: results |
|
224 | In [2]: results | |
225 | Out[2]: <TimeitResult : 1 loops, best of 1: 21.1 µs per loop> |
|
225 | Out[2]: <TimeitResult : 1 loops, best of 1: 21.1 µs per loop> | |
226 |
|
226 | |||
227 | Magic with two percent sign can spread over multiple lines, but do not support assignment: |
|
227 | Magic with two percent sign can spread over multiple lines, but does not support assignment: | |
228 |
|
228 | |||
229 | .. code-block:: ipython |
|
229 | .. code-block:: ipython | |
230 |
|
230 |
General Comments 0
You need to be logged in to leave comments.
Login now