Fix deprecations in Python 3.7.
This commit is contained in:
parent
7108111ad0
commit
1c7b43ea49
|
@ -1,4 +1,4 @@
|
|||
from collections import Iterable
|
||||
from collections.abc import Iterable
|
||||
|
||||
from ...tools import flatten, deprecated
|
||||
from ...fhdl import dsl
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
from collections import OrderedDict, Iterable
|
||||
from collections import OrderedDict
|
||||
from collections.abc import Iterable
|
||||
from contextlib import contextmanager
|
||||
|
||||
from .ast import *
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
from collections import OrderedDict, Iterable
|
||||
from collections import OrderedDict
|
||||
from collections.abc import Iterable
|
||||
|
||||
from ..tools import flatten
|
||||
from .ast import *
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from collections import Iterable
|
||||
from collections.abc import Iterable
|
||||
import functools
|
||||
import warnings
|
||||
|
||||
|
|
Loading…
Reference in a new issue