From 31769c60c1dfbc3f2d0e8810e8da7afbb75c7ea6 Mon Sep 17 00:00:00 2001 From: Anton Lydike Date: Mon, 9 Oct 2023 19:03:23 +0100 Subject: [PATCH] fix python 3.8 compat again?! --- riscemu/core/float.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscemu/core/float.py b/riscemu/core/float.py index b93506d..b5170d9 100644 --- a/riscemu/core/float.py +++ b/riscemu/core/float.py @@ -12,7 +12,7 @@ class BaseFloat(ABC): _type: ClassVar[Type[Union[c_float, c_double]]] _struct_fmt_str: ClassVar[str] - _val: c_float | c_double + _val: Union[c_float, c_double] @property def value(self) -> float: