From e96be317b05e3bd2474cd53666bb624e11536aa3 Mon Sep 17 00:00:00 2001 From: rocky Date: Mon, 11 Mar 2024 20:02:55 -0400 Subject: [PATCH] 3.8 tolerance --- mathics/core/symbols.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mathics/core/symbols.py b/mathics/core/symbols.py index e5595c5fb..1be4ce772 100644 --- a/mathics/core/symbols.py +++ b/mathics/core/symbols.py @@ -837,7 +837,7 @@ def __pow__(self, other) -> BaseElement: # permit_complex is True. def round_to_float( self, evaluation=None, permit_complex=False - ) -> Optional[Union[complex | float]]: + ) -> Optional[Union[complex, float]]: """ Round to a Python float. Return None if rounding is not possible. This can happen if self or evaluation is NaN.