Skip to content

Commit d20ef7a

Browse files
committed
adjust some doctests
1 parent 7101a44 commit d20ef7a

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

src/sage/structure/parent.pyx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2599,17 +2599,19 @@ cdef class Parent(sage.structure.category_object.CategoryObject):
25992599
sage: # needs sage.schemes
26002600
sage: E = EllipticCurve([1,0])
26012601
sage: coercion_model.get_action(E, ZZ, operator.mul)
2602-
Right Integer Multiplication by Integer Ring
2603-
on Elliptic Curve defined by y^2 = x^3 + x over Rational Field
2602+
Right action by Integer Ring on Elliptic Curve defined by y^2 = x^3 + x over Rational Field
26042603
sage: coercion_model.get_action(ZZ, E, operator.mul)
2605-
Left Integer Multiplication by Integer Ring
2606-
on Elliptic Curve defined by y^2 = x^3 + x over Rational Field
2604+
Left action by Integer Ring on Elliptic Curve defined by y^2 = x^3 + x over Rational Field
26072605
sage: coercion_model.get_action(E, int, operator.mul)
2608-
Right Integer Multiplication by Set of Python objects of class 'int'
2609-
on Elliptic Curve defined by y^2 = x^3 + x over Rational Field
2606+
Right action by Integer Ring on Elliptic Curve defined by y^2 = x^3 + x over Rational Field
2607+
with precomposition on right by Native morphism:
2608+
From: Set of Python objects of class 'int'
2609+
To: Integer Ring
26102610
sage: coercion_model.get_action(int, E, operator.mul)
2611-
Left Integer Multiplication by Set of Python objects of class 'int'
2612-
on Elliptic Curve defined by y^2 = x^3 + x over Rational Field
2611+
Left action by Integer Ring on Elliptic Curve defined by y^2 = x^3 + x over Rational Field
2612+
with precomposition on left by Native morphism:
2613+
From: Set of Python objects of class 'int'
2614+
To: Integer Ring
26132615
26142616
::
26152617
@@ -3042,8 +3044,7 @@ cdef class EltPair:
30423044
sage: K.<a> = Qq(9) # needs sage.rings.padics
30433045
sage: E = EllipticCurve_from_j(0).base_extend(K) # needs sage.rings.padics
30443046
sage: E.get_action(ZZ) # needs sage.rings.padics
3045-
Right Integer Multiplication
3046-
by Integer Ring
3047+
Right action by Integer Ring
30473048
on Elliptic Curve defined by y^2 + (1+O(3^20))*y = x^3
30483049
over 3-adic Unramified Extension Field in a
30493050
defined by x^2 + 2*x + 2

0 commit comments

Comments
 (0)