Skip to content

Commit 17290ea

Browse files
authored
Fix formatting in overview.rst (ipython#14999)
Code block broke bulleted list
2 parents 78d65f0 + 2f44d37 commit 17290ea

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docs/source/overview.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,19 +169,18 @@ Main features of the interactive shell
169169
intelligent enough to do more repetitions for commands that finish very
170170
quickly in order to get a better estimate of their running time.
171171

172-
.. sourcecode:: ipython
172+
.. sourcecode:: ipython
173173

174174
In [1]: %timeit 1+1
175175
7.88 ns ± 0.0494 ns per loop (mean ± std. dev. of 7 runs, 100000000 loops each)
176176

177177
In [2]: %timeit [math.sin(x) for x in range(5000)]
178178
608 µs ± 5.57 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
179179

180-
..
180+
..
181181
182182
To get the timing information for more than one expression, use the
183183
:samp:`%%timeit` cell magic command.
184-
185184

186185
* Doctest support. The special :samp:`%doctest_mode` command toggles a mode
187186
to use doctest-compatible prompts, so you can use IPython sessions as

0 commit comments

Comments
 (0)