diff --git a/src/sage/interfaces/singular.py b/src/sage/interfaces/singular.py index b79e08c44f9..91a4abd7713 100644 --- a/src/sage/interfaces/singular.py +++ b/src/sage/interfaces/singular.py @@ -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