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

Commit 5310e04

Browse files
author
Matthias Koeppe
committed
Function_elementof: Remove use of is_Set
1 parent 9b4e224 commit 5310e04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/functions/other.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2329,8 +2329,8 @@ def _eval_(self, x, s):
23292329
...
23302330
ValueError: not a set: 0
23312331
"""
2332-
from sage.sets.set import is_Set
2333-
if not is_Set(s):
2332+
from sage.sets.sets_cat import Sets
2333+
if not s in Sets():
23342334
raise ValueError("not a set: {}".format(s))
23352335

23362336
def _latex_(self):

0 commit comments

Comments
 (0)