Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b698258

Browse files
committed
Fix doctest
1 parent 7fcaec5 commit b698258

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ipython_directive.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ will be rendered as
2828
Out[137]: 8
2929

3030
.. note::
31-
31+
3232
This tutorial should be read side-by-side with the Sphinc source
3333
for this document (see :ref:`ipython_literal`) because otherwise
3434
you will see only the rendered output and not the code that
3535
generated it. Excepting the example above, we will not in general
3636
be showing the liuteral rest in this document that generates the
3737
rendered output.
38-
38+
3939

4040
The state from previous sessions is stored, and standard error is
4141
trapped. At doc build time, ipython's output and std err will be
@@ -118,7 +118,7 @@ suppress the seed line so it doesn't show up in the rendered output
118118
In [134]: numpy.random.seed(2358)
119119

120120
@doctest
121-
In [135]: np.random.rand(10,2)
121+
In [135]: numpy.random.rand(10,2)
122122
Out[135]:
123123
array([[ 0.64524308, 0.59943846],
124124
[ 0.47102322, 0.8715456 ],
@@ -286,4 +286,3 @@ Sphinx source for this tutorial
286286
====================================
287287

288288
.. literalinclude:: ipython_directive.rst
289-

0 commit comments

Comments
 (0)