diff --git a/src/sage/libs/gap/element.pyx b/src/sage/libs/gap/element.pyx index ffab3697999..c24408f401a 100644 --- a/src/sage/libs/gap/element.pyx +++ b/src/sage/libs/gap/element.pyx @@ -2451,7 +2451,7 @@ cdef class GapElement_Function(GapElement): sage: a = libgap.eval('a') sage: b = libgap.eval('b') sage: libgap.collect() - sage: [x.StructureDescription() for x in sorted(b.NormalSubgroups())] + sage: [x.StructureDescription() for x in sorted(a(b))] ["1", "S4", "A4", "C2 x C2"] Not every ``GapElement`` is callable::