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

Commit c06c965

Browse files
author
Matthias Koeppe
committed
sage.interfaces.sympy_wrapper.SageSet: Add another doctest
1 parent 2baae58 commit c06c965

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/sage/interfaces/sympy_wrapper.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ class SageSet(Set):
4848
def __new__(cls, sage_set):
4949
r"""
5050
Construct a wrapper for a Sage set.
51+
52+
TESTS::
53+
54+
sage: from sage.interfaces.sympy_wrapper import SageSet
55+
sage: F = Set([1, 2]); F
56+
{1, 2}
57+
sage: sF = SageSet(F); sF
58+
SageSet({1, 2})
5159
"""
5260
return Basic.__new__(cls, sage_set)
5361

0 commit comments

Comments
 (0)