Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 0a66f78

Browse files
rwstMatthias Koeppe
authored and
Matthias Koeppe
committed
24171: remove RealSet import; SR set coercion doctests
1 parent 6811a76 commit 0a66f78

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

src/sage/symbolic/ring.pyx

+9-11
Original file line numberDiff line numberDiff line change
@@ -254,17 +254,15 @@ cdef class SymbolicRing(CommutativeRing):
254254
sage: SR(complex(2,-3))
255255
(2-3j)
256256
257-
Any proper subset of the complex numbers::
258-
259-
sage: SR(NN)
260-
Non negative integer semiring
261-
sage: SR(ZZ)
262-
Integer Ring
263-
sage: SR(Set([1/2, 2/3, 3/4]))
264-
{3/4, 2/3, 1/2}
265-
sage: SR(QQ.completion(oo, oo))
266-
Real Field
267-
sage: SR(RealSet(0, 1))
257+
Any Sage set::
258+
259+
sage: SR(Set(ZZ))
260+
Set of elements of Integer Ring
261+
sage: SR(Primes())
262+
Set of all prime numbers: 2, 3, 5, 7, ...
263+
sage: SR(Set([1,2,3]))
264+
{1, 2, 3}
265+
sage: SR(RealSet(0,1))
268266
(0, 1)
269267
270268
TESTS::

0 commit comments

Comments
 (0)