Skip to content

Commit

Permalink
Dummy line is unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
user202729 committed Dec 12, 2024
1 parent 0447579 commit 269c4d8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/sage/repl/ipython_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,14 +461,13 @@ def cython(self, line, cell):
....: ''')
1
Test invalid quotes (see :mod:`sage.repl.interpreter` for explanation of the dummy line)::
Test invalid quotes::
sage: # needs sage.misc.cython
sage: print("dummy line"); shell.run_cell('''
sage: shell.run_cell('''
....: %%cython --a='
....: print(1)
....: ''')
dummy line
...
ValueError...Traceback (most recent call last)
...
Expand Down

0 comments on commit 269c4d8

Please sign in to comment.