Skip to content

Commit df7bf34

Browse files
Improved the codestyle
1 parent c1f9dbe commit df7bf34

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/sage/groups/perm_gps/permgroup.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4117,9 +4117,7 @@ def minimal_normal_subgroups(self):
41174117
[Subgroup generated by [(4,5)] of (Permutation Group with generators [(4,5), (1,2,3)]),
41184118
Subgroup generated by [(1,2,3)] of (Permutation Group with generators [(4,5), (1,2,3)])]
41194119
"""
4120-
gap_subgroups = self.gap().MinimalNormalSubgroups()
4121-
sage_subgroups = [self.subgroup(gap_group=gap_subgroup) for gap_subgroup in gap_subgroups]
4122-
return sage_subgroups
4120+
return [self.subgroup(gap_group=gap_subgroup) for gap_subgroup in self.gap().MinimalNormalSubgroups()]
41234121

41244122
def maximal_normal_subgroups(self):
41254123
"""
@@ -4133,9 +4131,7 @@ def maximal_normal_subgroups(self):
41334131
[Subgroup generated by [(1,2,3)] of (Permutation Group with generators [(4,5), (1,2,3)]),
41344132
Subgroup generated by [(4,5)] of (Permutation Group with generators [(4,5), (1,2,3)])]
41354133
"""
4136-
gap_subgroups = self.gap().MaximalNormalSubgroups()
4137-
sage_subgroups = [self.subgroup(gap_group=gap_subgroup) for gap_subgroup in gap_subgroups]
4138-
return sage_subgroups
4134+
return [self.subgroup(gap_group=gap_subgroup) for gap_subgroup in self.gap().MaximalNormalSubgroups()]
41394135

41404136
###################### Boolean tests #####################
41414137

0 commit comments

Comments
 (0)