Skip to content

Commit

Permalink
Fix building the Singular docstring dictionaty when Singular info is …
Browse files Browse the repository at this point in the history
…built with recent texinfo

When building the Singular info with recent texinfo, sections are numbered using capital letters instead of numbers. This breaks the current matching logic.
  • Loading branch information
antonio-rojas committed May 23, 2023
1 parent 7404764 commit 4483361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/interfaces/singular.py
Original file line number Diff line number Diff line change
Expand Up @@ -2405,7 +2405,7 @@ def generate_docstring_dictionary():
a, b = m.groups()
node_names[a] = b.strip()

if line == "6 Index\n":
if line in ("6 Index\n", "F Index\n"):
in_node = False

nodes[curr_node] = "".join(L) # last node
Expand Down

0 comments on commit 4483361

Please sign in to comment.