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)

EXAMPLES:

Check to make sure that we handle coerce maps from Python native types correctly:

sage: QQ['q,t'].coerce_map_from(int)
Composite map:
  From: Set of Python objects of class 'int'
  To:   Multivariate Polynomial Ring in q, t over Rational Field
  Defn:   Native morphism:
          From: Set of Python objects of class 'int'
          To:   Rational Field
        then
          Polynomial base injection morphism:
          From: Rational Field
          To:   Multivariate Polynomial Ring in q, t over Rational Field
get_action_c(S, op, self_on_left)
get_action_impl(S, op, self_on_left)
has_coerce_map_from_c(S)

Return True if there is a natural map from S to self. Otherwise, return False.