Skip to content

Commit 4483361

Browse files
committed
Fix building the Singular docstring dictionaty when Singular info is 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.
1 parent 7404764 commit 4483361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/interfaces/singular.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2405,7 +2405,7 @@ def generate_docstring_dictionary():
24052405
a, b = m.groups()
24062406
node_names[a] = b.strip()
24072407

2408-
if line == "6 Index\n":
2408+
if line in ("6 Index\n", "F Index\n"):
24092409
in_node = False
24102410

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

0 commit comments

Comments
 (0)