@@ -179,19 +179,6 @@ def _richcmp_(self, other, op):
179
179
False
180
180
sage: v != w
181
181
True
182
-
183
- Note that this does not affect comparison of valuations which do not
184
- coerce into a common parent. This is by design in Sage, see
185
- :meth:`sage.structure.element.Element.__richcmp__`. When the valuations
186
- do not coerce into a common parent, a rather random comparison of
187
- ``id`` happens::
188
-
189
- sage: w = valuations.TrivialValuation(GF(2))
190
- sage: w <= v # random output
191
- True
192
- sage: v <= w # random output
193
- False
194
-
195
182
"""
196
183
if op == op_LT :
197
184
return self <= other and not (self >= other )
@@ -245,19 +232,6 @@ def _le_(self, other):
245
232
sage: w = QQ.valuation(2)
246
233
sage: v <= w
247
234
True
248
-
249
- Note that this does not affect comparison of valuations which do not
250
- coerce into a common parent. This is by design in Sage, see
251
- :meth:`sage.structure.element.Element.__richcmp__`. When the valuations
252
- do not coerce into a common parent, a rather random comparison of
253
- ``id`` happens::
254
-
255
- sage: w = valuations.TrivialValuation(GF(2))
256
- sage: w <= v # random output
257
- True
258
- sage: v <= w # random output
259
- False
260
-
261
235
"""
262
236
return other >= self
263
237
@@ -275,19 +249,6 @@ def _ge_(self, other):
275
249
sage: w = QQ.valuation(2)
276
250
sage: v >= w
277
251
False
278
-
279
- Note that this does not affect comparison of valuations which do not
280
- coerce into a common parent. This is by design in Sage, see
281
- :meth:`sage.structure.element.Element.__richcmp__`. When the valuations
282
- do not coerce into a common parent, a rather random comparison of
283
- ``id`` happens::
284
-
285
- sage: w = valuations.TrivialValuation(GF(2))
286
- sage: w <= v # random output
287
- True
288
- sage: v <= w # random output
289
- False
290
-
291
252
"""
292
253
if self == other : return True
293
254
from .scaled_valuation import ScaledValuation_generic
0 commit comments