Fix deprecations in Python 3.7.

This commit is contained in:
whitequark 2018-12-14 23:56:26 +00:00
parent 7108111ad0
commit 1c7b43ea49
4 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,4 @@
from collections import Iterable
from collections.abc import Iterable
from ...tools import flatten, deprecated
from ...fhdl import dsl

View file

@ -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 *

View file

@ -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 *

View file

@ -1,4 +1,4 @@
from collections import Iterable
from collections.abc import Iterable
import functools
import warnings