Skip to content

Commit

Permalink
src/sage/sets/condition_set.py: Fix doctest dataflow warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Oct 1, 2023
1 parent a330894 commit 34e4139
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/sage/sets/condition_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def _sympy_(self):
EXAMPLES::
sage: # needs sage.modules sage.symbolic
sage: # needs sympy sage.modules sage.symbolic
sage: predicate(x, y, z) = sqrt(x^2 + y^2 + z^2) < 12; predicate
(x, y, z) |--> sqrt(x^2 + y^2 + z^2) < 12
sage: SmallTriples = ConditionSet(ZZ^3, predicate); SmallTriples
Expand All @@ -427,10 +427,9 @@ def _sympy_(self):
True
sage: (5, 7, 9) in ST
False
sage: Interval = ConditionSet(RR, x >= -7, x <= 4, vars=[x]); Interval # needs sage.symbolic
sage: Interval = ConditionSet(RR, x >= -7, x <= 4, vars=[x]); Interval
{ x ∈ Real Field with 53 bits of precision : x >= -7, x <= 4 }
sage: Interval._sympy_() # needs sympy sage.symbolic
sage: Interval._sympy_()
ConditionSet(x, (x >= -7) & (x <= 4),
SageSet(Real Field with 53 bits of precision))
Expand Down

0 comments on commit 34e4139

Please sign in to comment.