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.ParentParents are the SAGE/mathematical analogues of container objects in computer science.
-
coerce_map_from_c(S)¶
-
has_coerce_map_from_c(S)¶ Return
Trueif there is a natural map fromStoself.Otherwise, return
False.
-