21.10.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 2b5bdc63 authored by di68kap's avatar di68kap
Browse files

- python 3.4 compatibility bug fix

parent 096655b3
...@@ -45,6 +45,7 @@ try: ...@@ -45,6 +45,7 @@ try:
import typing import typing
except ImportError: except ImportError:
import DHParser.foreign_typing as typing import DHParser.foreign_typing as typing
sys.modules['typing'] = typing # make it possible to import from typing
from typing import Any, Iterable, Sequence, Set, Union from typing import Any, Iterable, Sequence, Set, Union
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment