##// END OF EJS Templates
minor typos
Paul Ivanov -
Show More
@@ -172,9 +172,8 b' Main features of the interactive shell'
172
172
173 .. sourcecode:: ipython
173 .. sourcecode:: ipython
174
174
175 In [5]: %timeit 1+1
175 In [1]: %timeit 1+1
176 10000000 loops, best of 3: 25.5 ns per loop
176 10000000 loops, best of 3: 25.5 ns per loop
177 .. _sourcecode:
178
177
179 In [2]: %timeit [math.sin(x) for x in range(5000)]
178 In [2]: %timeit [math.sin(x) for x in range(5000)]
180 1000 loops, best of 3: 719 µs per loop
179 1000 loops, best of 3: 719 µs per loop
@@ -186,9 +185,10 b' Main features of the interactive shell'
186
185
187
186
188 * Doctest support. The special :samp:`%doctest_mode` command toggles a mode
187 * Doctest support. The special :samp:`%doctest_mode` command toggles a mode
189 uses doctest-compatible prompts, so you can use IPython sessions as doctest
188 to use doctest-compatible prompts, so you can use IPython sessions as
190 code.. By default, IPython also allows you to paste existing doctests (with
189 doctest code. By default, IPython also allows you to paste existing
191 leading :samp:`>>>` and :samp:`...` prompts in them
190 doctests, and strips out the leading :samp:`>>>` and :samp:`...` prompts in
191 them.
192
192
193 .. _ipythonzmq:
193 .. _ipythonzmq:
194
194
General Comments 0
You need to be logged in to leave comments. Login now