Changes between Initial Version and Version 1 of Ticket #25706, comment 1
- Timestamp:
- 06/29/18 16:07:21 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25706, comment 1
initial v1 2 2 {{{#!sage 3 3 def _coerce_map_from_(self, G): 4 if G.as_permutation_group() == self: 5 return the_morphism_construced_from_GAP 4 try: 5 PG = G.as_permutation_group() 6 if PG == self: 7 return the_morphism_construced_from_GAP 8 if self.has_coerce_map_from(PG): 9 return self.coerce_map_from(PG) * the_morphism_to_PG 10 except (AttributeError, TypeError): 11 pass 6 12 return super(PermutationGroup, self)._coerce_map_from_(G) 7 13 }}}