Skip to content

Commit 03c683b

Browse files
authored
Fixes newline issue in sphinx docstring build (ipython#14553)
Added a newline under the %%timeit magic command in cell mode in the built-in magic commands section of the tutorial in the documentation
2 parents a0e0c86 + 84f2bde commit 03c683b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IPython/core/magics/execution.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,8 +1032,8 @@ def timeit(self, line='', cell=None, local_ns=None):
10321032
%timeit [-n<N> -r<R> [-t|-c] -q -p<P> -o] statement
10331033
or in cell mode:
10341034
%%timeit [-n<N> -r<R> [-t|-c] -q -p<P> -o] setup_code
1035-
code
1036-
code...
1035+
code
1036+
code...
10371037
10381038
Time execution of a Python statement or expression using the timeit
10391039
module. This function can be used both as a line and cell magic:

0 commit comments

Comments
 (0)