Skip to content

Commit 6be8082

Browse files
author
Release Manager
committed
gh-35678: Fix building the Singular docstring dict 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. URL: #35678 Reported by: Antonio Rojas Reviewer(s): Matthias Köppe
2 parents eca1c9e + 4483361 commit 6be8082

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)