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

Commit

Permalink
Merge #31938
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jun 10, 2021
2 parents 153b3e5 + c06c965 commit f535127
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/sage/interfaces/sympy_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ class SageSet(Set):
def __new__(cls, sage_set):
r"""
Construct a wrapper for a Sage set.
TESTS::
sage: from sage.interfaces.sympy_wrapper import SageSet
sage: F = Set([1, 2]); F
{1, 2}
sage: sF = SageSet(F); sF
SageSet({1, 2})
"""
return Basic.__new__(cls, sage_set)

Expand Down

0 comments on commit f535127

Please sign in to comment.