aboutsummaryrefslogtreecommitdiff
path: root/mu4web/html_render.py
diff options
context:
space:
mode:
Diffstat (limited to 'mu4web/html_render.py')
-rw-r--r--mu4web/html_render.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/mu4web/html_render.py b/mu4web/html_render.py
index 2411939..1d81321 100644
--- a/mu4web/html_render.py
+++ b/mu4web/html_render.py
@@ -1,9 +1,12 @@
import html
from typing import (
Callable,
- TypeAlias,
Union,
)
+try:
+ from typing import TypeAlias # type: ignore
+except ImportError:
+ from typing import Any as TypeAlias # type: ignore
HTML: TypeAlias = Union[tuple,
list['HTML'],