Skip to content

Commit

Permalink
Add view-annotate to IPython magic
Browse files Browse the repository at this point in the history
  • Loading branch information
user202729 committed Nov 14, 2024
1 parent 1dbbe4c commit b8d3e69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sage/repl/ipython_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ def cython(self, line, cell):
- ``--use-cache`` / ``-c``
- ``--create-local-c-file`` / ``-l``
- ``--annotate``
- ``--view-annotate``
- ``--sage-namespace``
- ``--create-local-so-file`` / ``-o``
- ``--no-compile-message``, ``--no-use-cache``, etc.
Expand Down Expand Up @@ -427,6 +428,7 @@ def error(self, message):
parser.add_argument("--use-cache", "-c", action=argparse.BooleanOptionalAction)
parser.add_argument("--create-local-c-file", "-l", action=argparse.BooleanOptionalAction)
parser.add_argument("--annotate", action=argparse.BooleanOptionalAction)
parser.add_argument("--view-annotate", action=argparse.BooleanOptionalAction)
parser.add_argument("--sage-namespace", action=argparse.BooleanOptionalAction)
parser.add_argument("--create-local-so-file", "-o", action=argparse.BooleanOptionalAction)
args = parser.parse_args(shlex.split(line))
Expand Down

0 comments on commit b8d3e69

Please sign in to comment.