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 e78897f commit 99bce53
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``
- ``--create-local-c-file``
- ``--annotate``
- ``--view-annotate``
- ``--sage-namespace``
- ``--create-local-so-file``
- ``--no-compile-message``, ``--no-use-cache``, etc.
Expand Down Expand Up @@ -427,6 +428,7 @@ def error(self, message):
parser.add_argument("--use-cache", action=argparse.BooleanOptionalAction)
parser.add_argument("--create-local-c-file", 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", action=argparse.BooleanOptionalAction)
args = parser.parse_args(shlex.split(line))
Expand Down

0 comments on commit 99bce53

Please sign in to comment.