Base class for old-style parent objects¶
CLASS HIERARCHY:
- SageObject
- Parent
- ParentWithBase
- ParentWithGens
This came up in some subtle bug once.
sage: gp(2) + gap(3)
5
-
class
sage.structure.parent_old.
Parent
¶ Bases:
sage.structure.parent.Parent
Parents are the SAGE/mathematical analogues of container objects in computer science.
-
coerce_map_from_c
(S)¶
-
has_coerce_map_from_c
(S)¶ Return True if there is a natural map from S to self. Otherwise, return False.
-